Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 106.7 kB / 16.41 MB, free: 6.504 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.001671/0.001671, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.385/1.385, allocations: 222.9 MB / 241.1 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.899/0.899, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1578, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6137/0.7715, allocations: 240.1 MB / 0.9108 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.7836, allocations: 7.224 MB / 0.9178 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.7853, allocations: 51.69 kB / 0.9179 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.7872, allocations: 0.7144 MB / 0.9186 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.7921, allocations: 2.17 MB / 0.9207 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/0.797, allocations: 2.06 MB / 0.9227 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004428/0.8015, allocations: 3.273 MB / 0.9259 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.8034, allocations: 1.139 MB / 0.927 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.8077, allocations: 1.853 MB / 0.9288 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.8101, allocations: 0.9697 MB / 0.9298 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.8105, allocations: 123.9 kB / 0.9299 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/0.8162, allocations: 2.498 MB / 0.9323 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009125/0.8171, allocations: 462.7 kB / 0.9328 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.819, allocations: 0.7194 MB / 0.9335 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.8255, allocations: 2.788 MB / 0.9362 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8255, allocations: 0 / 0.9362 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8255, allocations: 0 / 0.9362 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.547e-05/0.8256, allocations: 0 / 0.9362 GB, free: 3.359 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003917/0.8295, allocations: 1.765 MB / 0.9379 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.8296, allocations: 16.02 kB / 0.938 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.8324, allocations: 422.8 kB / 0.9384 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.8343, allocations: 1.04 MB / 0.9394 GB, free: 24 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.8344, allocations: 58.08 kB / 0.9394 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.8346, allocations: 84 kB / 0.9395 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.8362, allocations: 0.8701 MB / 0.9404 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.8363, allocations: 0 / 0.9404 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.8364, allocations: 32 kB / 0.9404 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.8364, allocations: 30 kB / 0.9404 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.838, allocations: 0.8081 MB / 0.9412 GB, free: 14.14 MB / 0.7169 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.005063/0.843, allocations: 3.664 MB / 0.9448 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.8446, allocations: 1.086 MB / 0.9458 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.8452, allocations: 368.4 kB / 0.9462 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/0.8459, allocations: 408.8 kB / 0.9466 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.846, allocations: 39.12 kB / 0.9466 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/0.846, allocations: 0 / 0.9466 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002122/0.8481, allocations: 0.9629 MB / 0.9476 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.8482, allocations: 59.97 kB / 0.9476 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.8493, allocations: 0.8438 MB / 0.9484 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.8494, allocations: 41.7 kB / 0.9485 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.8497, allocations: 480.8 kB / 0.9489 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.8499, allocations: 230 kB / 0.9492 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.8501, allocations: 114.2 kB / 0.9493 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8503, allocations: 326 kB / 0.9496 GB, free: 5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.8508, allocations: 255 kB / 0.9498 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.8514, allocations: 367.4 kB / 0.9502 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.8524, allocations: 0.5902 MB / 0.9508 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8524, allocations: 4 kB / 0.9508 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001355/0.8538, allocations: 0.7365 MB / 0.9515 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.8538, allocations: 8 kB / 0.9515 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.8539, allocations: 3.984 kB / 0.9515 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8539, allocations: 4 kB / 0.9515 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.8544, allocations: 123.8 kB / 0.9516 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.8545, allocations: 8.125 kB / 0.9516 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.8552, allocations: 71.58 kB / 0.9517 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.8553, allocations: 24 kB / 0.9517 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007919/0.8561, allocations: 0.4938 MB / 0.9522 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005524/0.8567, allocations: 363.5 kB / 0.9525 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.8577, allocations: 0.5774 MB / 0.9531 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.8577, allocations: 4 kB / 0.9531 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001285/0.859, allocations: 0.7287 MB / 0.9538 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.859, allocations: 11.94 kB / 0.9538 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.859, allocations: 0 / 0.9538 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.859, allocations: 4 kB / 0.9538 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.8596, allocations: 123.8 kB / 0.9539 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.8596, allocations: 4.188 kB / 0.954 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.8603, allocations: 63.83 kB / 0.954 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.8604, allocations: 27.94 kB / 0.954 GB, free: 328 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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 0.0001761/0.8606, allocations: 212.1 kB / 0.9542 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.8608, allocations: 119.2 kB / 0.9544 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.8622, allocations: 0.7315 MB / 0.9551 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.8634, allocations: 0.9111 MB / 0.956 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8634, allocations: 0 / 0.956 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.8638, allocations: 260.2 kB / 0.9562 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.8639, allocations: 8 kB / 0.9562 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.8646, allocations: 39.95 kB / 0.9563 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.8647, allocations: 40.5 kB / 0.9563 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001718/0.8664, allocations: 0.7954 MB / 0.9571 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001862/0.8683, allocations: 1.252 MB / 0.9583 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005178/0.8688, allocations: 324.4 kB / 0.9586 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008113/0.8697, allocations: 0.5823 MB / 0.9592 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of Backend: time 4.91e-07/0.8697, allocations: 0 / 0.9592 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.8728, allocations: 1.275 MB / 0.9604 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of SimCode: time 0.00462/0.8774, allocations: 2.86 MB / 0.9632 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of Templates: time 0.04361/0.9211, allocations: 28.01 MB / 0.9906 GB, free: 11.01 MB / 0.7637 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)