Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.3 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8237/0.8237, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 60.91 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1564, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4848/0.6413, allocations: 161.6 MB / 0.8341 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.6439, allocations: 1.709 MB / 0.8357 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.6441, allocations: 11.72 kB / 0.8357 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.6446, allocations: 163.4 kB / 0.8359 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.6457, allocations: 0.506 MB / 0.8364 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.6467, allocations: 430.1 kB / 0.8368 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.6473, allocations: 0.564 MB / 0.8373 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.6476, allocations: 179 kB / 0.8375 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/0.6482, allocations: 324.2 kB / 0.8378 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.6483, allocations: 153.8 kB / 0.838 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.6484, allocations: 12.72 kB / 0.838 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009851/0.6494, allocations: 0.6959 MB / 0.8387 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.6495, allocations: 80.83 kB / 0.8387 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.6496, allocations: 116.7 kB / 0.8389 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.6503, allocations: 0.5112 MB / 0.8394 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6503, allocations: 2.5 kB / 0.8394 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6503, allocations: 0 / 0.8394 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.535e-06/0.6503, allocations: 0 / 0.8394 GB, free: 3.473 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007483/0.651, allocations: 0.5768 MB / 0.8399 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.6511, allocations: 10.09 kB / 0.8399 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.6514, allocations: 54.16 kB / 0.84 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.6518, allocations: 308.5 kB / 0.8403 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.6519, allocations: 15.55 kB / 0.8403 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.6519, allocations: 14.38 kB / 0.8403 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.6522, allocations: 194.9 kB / 0.8405 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6523, allocations: 0 / 0.8405 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.6523, allocations: 5.781 kB / 0.8405 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6523, allocations: 2.625 kB / 0.8405 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.6526, allocations: 130.3 kB / 0.8406 GB, free: 2.406 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.6535, allocations: 0.7808 MB / 0.8414 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.6538, allocations: 86.84 kB / 0.8415 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.6539, allocations: 76.97 kB / 0.8415 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.6542, allocations: 190.3 kB / 0.8417 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6542, allocations: 32.81 kB / 0.8418 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.6542, allocations: 0 / 0.8418 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006137/0.6548, allocations: 226.8 kB / 0.842 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.6549, allocations: 53.62 kB / 0.842 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.6551, allocations: 266.4 kB / 0.8423 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6551, allocations: 29.7 kB / 0.8423 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.6552, allocations: 140.5 kB / 0.8424 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.6553, allocations: 39.77 kB / 0.8425 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.6553, allocations: 32.45 kB / 0.8425 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6554, allocations: 334.4 kB / 0.8428 GB, free: 444 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.6556, allocations: 51.47 kB / 0.8429 GB, free: 412 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.6557, allocations: 89.23 kB / 0.843 GB, free: 336 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.656, allocations: 122.1 kB / 0.8431 GB, free: 252 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.656, allocations: 2.281 kB / 0.8431 GB, free: 252 kB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003129/0.6563, allocations: 149.4 kB / 0.8432 GB, free: 164 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6563, allocations: 4.281 kB / 0.8432 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6563, allocations: 11.17 kB / 0.8432 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.6563, allocations: 7.875 kB / 0.8432 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.6565, allocations: 25.2 kB / 0.8433 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.6565, allocations: 0 / 0.8433 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.6566, allocations: 23.92 kB / 0.8433 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.6567, allocations: 4.5 kB / 0.8433 GB, free: 128 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001771/0.6569, allocations: 146.4 kB / 0.8434 GB, free: 12 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001641/0.657, allocations: 93.45 kB / 0.8435 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002246/0.6573, allocations: 117.6 kB / 0.8436 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.6573, allocations: 2.469 kB / 0.8436 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002908/0.6576, allocations: 162.5 kB / 0.8438 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.6576, allocations: 5.281 kB / 0.8438 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.6576, allocations: 3.438 kB / 0.8438 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-06/0.6576, allocations: 0 / 0.8438 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.6577, allocations: 21.7 kB / 0.8438 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.6577, allocations: 6.781 kB / 0.8438 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.6579, allocations: 19.33 kB / 0.8438 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.6579, allocations: 6.5 kB / 0.8439 GB, free: 15.73 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.658, allocations: 194.5 kB / 0.844 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.658, allocations: 24.75 kB / 0.8441 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.6584, allocations: 162.6 kB / 0.8442 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6584, allocations: 6.625 kB / 0.8442 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6584, allocations: 0.875 kB / 0.8442 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6584, allocations: 0 / 0.8442 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/0.6592, allocations: 0.585 MB / 0.8448 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6593, allocations: 6.469 kB / 0.8448 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6594, allocations: 21.92 kB / 0.8448 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.6594, allocations: 6.078 kB / 0.8448 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.6594, allocations: 7.781 kB / 0.8448 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6594, allocations: 5.781 kB / 0.8448 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6594, allocations: 2.562 kB / 0.8448 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.6597, allocations: 290.9 kB / 0.8451 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6599, allocations: 117.4 kB / 0.8452 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.6599, allocations: 10.91 kB / 0.8452 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.6601, allocations: 11.17 kB / 0.8453 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.6601, allocations: 18.89 kB / 0.8453 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.6602, allocations: 9 kB / 0.8453 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001619/0.6603, allocations: 197.5 kB / 0.8455 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6603, allocations: 0 / 0.8455 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004094/0.6608, allocations: 90.42 kB / 0.8456 GB, free: 14.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.6611, allocations: 170.6 kB / 0.8457 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.6615, allocations: 168.5 kB / 0.8459 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6615, allocations: 0 / 0.8459 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.6617, allocations: 67.42 kB / 0.8459 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.6623, allocations: 113.7 kB / 0.8461 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.6629, allocations: 472.6 kB / 0.8465 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.6632, allocations: 0.7586 MB / 0.8472 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.6633, allocations: 20.09 kB / 0.8473 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.6633, allocations: 0 / 0.8473 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.005028/0.6683, allocations: 3.778 MB / 0.851 GB, free: 10.5 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)