Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 110.7 kB / 16.42 MB, free: 6.484 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.001585/0.001585, allocations: 185.4 kB / 17.35 MB, free: 5.727 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 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 297.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.529, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01917/0.5482, allocations: 19.42 MB / 0.786 GB, free: 416 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007345/0.5556, allocations: 5.157 MB / 0.7911 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/0.5561, allocations: 19.88 kB / 0.7911 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.5567, allocations: 266 kB / 0.7913 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.5584, allocations: 0.8073 MB / 0.7921 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.5602, allocations: 0.8845 MB / 0.793 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.5618, allocations: 1.552 MB / 0.7945 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.5625, allocations: 0.5129 MB / 0.795 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.5634, allocations: 0.6382 MB / 0.7956 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.5641, allocations: 0.5329 MB / 0.7962 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.146e-05/0.5642, allocations: 56 kB / 0.7962 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.5653, allocations: 0.7057 MB / 0.7969 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.5655, allocations: 167.3 kB / 0.7971 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.5658, allocations: 382 kB / 0.7974 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.5671, allocations: 1.089 MB / 0.7985 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5671, allocations: 0 / 0.7985 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5671, allocations: 0 / 0.7985 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.5671, allocations: 0 / 0.7985 GB, free: 3.609 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001841/0.5689, allocations: 1.106 MB / 0.7996 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.569, allocations: 8.031 kB / 0.7996 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.5692, allocations: 87.89 kB / 0.7997 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.5699, allocations: 0.5226 MB / 0.8002 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.57, allocations: 37 kB / 0.8002 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.5701, allocations: 52 kB / 0.8002 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.5711, allocations: 0.6216 MB / 0.8009 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5712, allocations: 3.938 kB / 0.8009 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.5712, allocations: 16 kB / 0.8009 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5712, allocations: 12 kB / 0.8009 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.5723, allocations: 495.4 kB / 0.8014 GB, free: 0.5117 MB / 0.5606 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.003313/0.5756, allocations: 3.201 MB / 0.8045 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.5763, allocations: 342.3 kB / 0.8048 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.5768, allocations: 232.7 kB / 0.805 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.5771, allocations: 356.1 kB / 0.8054 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.5772, allocations: 30.56 kB / 0.8054 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 1.854e-06/0.5772, allocations: 0 / 0.8054 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.002128/0.5793, allocations: 0.8072 MB / 0.8062 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5794, allocations: 63.16 kB / 0.8062 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/0.5801, allocations: 0.5823 MB / 0.8068 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.5801, allocations: 37.7 kB / 0.8069 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.5804, allocations: 332.4 kB / 0.8072 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.5805, allocations: 130 kB / 0.8073 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.5807, allocations: 134.1 kB / 0.8074 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5809, allocations: 366.8 kB / 0.8078 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.5814, allocations: 219.4 kB / 0.808 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.582, allocations: 376 kB / 0.8083 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.5831, allocations: 0.5705 MB / 0.8089 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.5831, allocations: 7.938 kB / 0.8089 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001469/0.5846, allocations: 0.7144 MB / 0.8096 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5846, allocations: 8 kB / 0.8096 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.5846, allocations: 4.562 kB / 0.8096 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/0.5852, allocations: 128.7 kB / 0.8097 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.5858, allocations: 139.8 kB / 0.8099 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007019/0.5865, allocations: 0.6187 MB / 0.8105 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.5871, allocations: 83.19 kB / 0.8106 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.5871, allocations: 35.98 kB / 0.8106 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006845/0.5878, allocations: 345.3 kB / 0.8109 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006254/0.5885, allocations: 368 kB / 0.8113 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00109/0.5896, allocations: 0.5587 MB / 0.8118 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.5896, allocations: 0 / 0.8118 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001392/0.591, allocations: 0.6826 MB / 0.8125 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.591, allocations: 8 kB / 0.8125 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.591, allocations: 4 kB / 0.8125 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.591, allocations: 12.12 kB / 0.8125 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.5917, allocations: 151.8 kB / 0.8126 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5917, allocations: 7.938 kB / 0.8127 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.5922, allocations: 75.83 kB / 0.8127 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.5922, allocations: 39.91 kB / 0.8128 GB, free: 4.156 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.5924, allocations: 216.1 kB / 0.813 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5925, allocations: 67.09 kB / 0.813 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.5941, allocations: 0.6378 MB / 0.8137 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5941, allocations: 7.938 kB / 0.8137 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5941, allocations: 0 / 0.8137 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.5944, allocations: 204 kB / 0.8139 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.5945, allocations: 4 kB / 0.8139 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.5949, allocations: 31.97 kB / 0.8139 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.595, allocations: 32.33 kB / 0.8139 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00158/0.5966, allocations: 0.6548 MB / 0.8146 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001807/0.5984, allocations: 0.9695 MB / 0.8155 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004899/0.5989, allocations: 241.2 kB / 0.8157 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000442/0.5994, allocations: 399.1 kB / 0.8161 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of Backend: time 2.3e-07/0.5994, allocations: 0 / 0.8161 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.602, allocations: 0.9314 MB / 0.817 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002417/0.6044, allocations: 1.609 MB / 0.8186 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.02393/0.6283, allocations: 14.42 MB / 0.8327 GB, free: 15.84 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)