Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 113 kB / 17.09 MB, free: 5.961 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.001011/0.001011, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7625/0.7625, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 68.34 kB / 0.5583 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1643, allocations: 76.18 MB / 0.6327 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1121/0.2764, allocations: 112.6 MB / 0.7427 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4287/0.7051, allocations: 20.24 MB / 0.7625 GB, free: 30.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/0.7098, allocations: 105.5 kB / 0.7626 GB, free: 30.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.7135, allocations: 1.276 MB / 0.7638 GB, free: 30.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.7244, allocations: 3.697 MB / 0.7674 GB, free: 30.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008523/0.733, allocations: 3.123 MB / 0.7705 GB, free: 30.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.7459, allocations: 7.208 MB / 0.7775 GB, free: 30.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004479/0.7504, allocations: 2.575 MB / 0.7801 GB, free: 30 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007562/0.758, allocations: 2.89 MB / 0.7829 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00434/0.7624, allocations: 2.129 MB / 0.785 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006238/0.763, allocations: 255.3 kB / 0.7852 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.7675, allocations: 1.653 MB / 0.7868 GB, free: 27.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.7681, allocations: 0.6803 MB / 0.7875 GB, free: 27.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.7702, allocations: 1.519 MB / 0.789 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005931/0.7762, allocations: 4.392 MB / 0.7932 GB, free: 24.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7762, allocations: 0 / 0.7932 GB, free: 24.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7762, allocations: 2.844 kB / 0.7932 GB, free: 24.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.927e-05/0.7763, allocations: 0 / 0.7932 GB, free: 24.33 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004742/0.781, allocations: 3.228 MB / 0.7964 GB, free: 21.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7811, allocations: 9.656 kB / 0.7964 GB, free: 21.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007143/0.7818, allocations: 327.3 kB / 0.7967 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.7847, allocations: 2.205 MB / 0.7989 GB, free: 20.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/0.7848, allocations: 124.7 kB / 0.799 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.785, allocations: 173 kB / 0.7992 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.7873, allocations: 1.607 MB / 0.8007 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.7873, allocations: 7.844 kB / 0.8007 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.7874, allocations: 64.53 kB / 0.8008 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.7875, allocations: 42.33 kB / 0.8008 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.7892, allocations: 1.145 MB / 0.802 GB, free: 18.48 MB / 0.5762 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.008681/0.7979, allocations: 7.911 MB / 0.8097 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.7985, allocations: 487.2 kB / 0.8101 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.799, allocations: 325.7 kB / 0.8105 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/0.7994, allocations: 0.7525 MB / 0.8112 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.7995, allocations: 47.31 kB / 0.8112 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/0.7995, allocations: 0 / 0.8112 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001903/0.8014, allocations: 0.986 MB / 0.8122 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.8014, allocations: 61.88 kB / 0.8123 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.804, allocations: 2.333 MB / 0.8145 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.8041, allocations: 45.7 kB / 0.8146 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007429/0.8049, allocations: 1.155 MB / 0.8157 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.8051, allocations: 218.8 kB / 0.8159 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.8054, allocations: 254.6 kB / 0.8162 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.8055, allocations: 349.9 kB / 0.8165 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.806, allocations: 361.9 kB / 0.8168 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.8068, allocations: 0.7436 MB / 0.8176 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.808, allocations: 0.9809 MB / 0.8185 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.808, allocations: 4 kB / 0.8185 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001882/0.8099, allocations: 1.287 MB / 0.8198 GB, free: 2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.8099, allocations: 15.88 kB / 0.8198 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.8099, allocations: 8 kB / 0.8198 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.81, allocations: 16.72 kB / 0.8198 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.8109, allocations: 251.6 kB / 0.8201 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.8109, allocations: 23.92 kB / 0.8201 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.8124, allocations: 162.3 kB / 0.8202 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.8125, allocations: 55.98 kB / 0.8203 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001071/0.8136, allocations: 0.7641 MB / 0.821 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007333/0.8143, allocations: 0.733 MB / 0.8218 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/0.8156, allocations: 0.9562 MB / 0.8227 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.8156, allocations: 0 / 0.8227 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002118/0.8177, allocations: 1.262 MB / 0.8239 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8177, allocations: 8 kB / 0.8239 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.8178, allocations: 11.94 kB / 0.8239 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.8178, allocations: 20.03 kB / 0.824 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/0.8187, allocations: 247.6 kB / 0.8242 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.8187, allocations: 19.92 kB / 0.8242 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.8202, allocations: 127.1 kB / 0.8243 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.8203, allocations: 47.98 kB / 0.8244 GB, free: 13.01 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.000323/0.8206, allocations: 259.8 kB / 0.8246 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.821, allocations: 237 kB / 0.8249 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.8227, allocations: 0.878 MB / 0.8257 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009512/0.8237, allocations: 0.6853 MB / 0.8264 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.8237, allocations: 4 kB / 0.8264 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007087/0.8244, allocations: 413.9 kB / 0.8268 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.8247, allocations: 12 kB / 0.8268 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/0.8256, allocations: 51.94 kB / 0.8268 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.8257, allocations: 36.52 kB / 0.8269 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001382/0.8271, allocations: 0.7718 MB / 0.8276 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001828/0.8289, allocations: 1.399 MB / 0.829 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004548/0.8294, allocations: 320.3 kB / 0.8293 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002111/0.8315, allocations: 1.569 MB / 0.8308 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of Backend: time 4.41e-07/0.8315, allocations: 0 / 0.8308 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005127/0.8367, allocations: 2.031 MB / 0.8328 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of SimCode: time 0.009995/0.8467, allocations: 5.175 MB / 0.8379 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of Templates: time 0.07952/0.9263, allocations: 48.85 MB / 0.8856 GB, free: 15.09 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)