Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.0009764/0.0009764, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 286.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4121, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01944/0.4316, allocations: 17.44 MB / 0.7841 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007523/0.4392, allocations: 4.927 MB / 0.7889 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006935/0.4399, allocations: 19.88 kB / 0.7889 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009773/0.4409, allocations: 250.4 kB / 0.7892 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.443, allocations: 0.6102 MB / 0.7898 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.445, allocations: 0.7294 MB / 0.7905 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.4466, allocations: 0.9702 MB / 0.7914 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007072/0.4473, allocations: 329 kB / 0.7917 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009518/0.4483, allocations: 418.2 kB / 0.7921 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006766/0.4489, allocations: 318.6 kB / 0.7924 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.4491, allocations: 28 kB / 0.7925 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.4507, allocations: 0.7331 MB / 0.7932 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.4509, allocations: 127.6 kB / 0.7933 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.4512, allocations: 242.6 kB / 0.7935 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.4531, allocations: 0.8905 MB / 0.7944 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4531, allocations: 0 / 0.7944 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4531, allocations: 0 / 0.7944 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.832e-05/0.4532, allocations: 0 / 0.7944 GB, free: 7.855 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001624/0.4548, allocations: 0.8797 MB / 0.7953 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4548, allocations: 8.031 kB / 0.7953 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.4551, allocations: 68.17 kB / 0.7953 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.4558, allocations: 457.8 kB / 0.7958 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.4559, allocations: 28.44 kB / 0.7958 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.4559, allocations: 28 kB / 0.7958 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006138/0.4565, allocations: 282.3 kB / 0.7961 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4566, allocations: 4 kB / 0.7961 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.4566, allocations: 11.98 kB / 0.7961 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4567, allocations: 8 kB / 0.7961 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.4571, allocations: 194 kB / 0.7963 GB, free: 5.805 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.002277/0.4594, allocations: 1.472 MB / 0.7977 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.4598, allocations: 166.7 kB / 0.7979 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.4599, allocations: 84.8 kB / 0.798 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/0.4617, allocations: 1.28 MB / 0.7992 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4617, allocations: 34.5 kB / 0.7993 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/0.4617, allocations: 0 / 0.7993 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000669/0.4624, allocations: 251.9 kB / 0.7995 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4625, allocations: 59.33 kB / 0.7995 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.4632, allocations: 0.5809 MB / 0.8001 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.4632, allocations: 33.7 kB / 0.8001 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4634, allocations: 264.1 kB / 0.8004 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.4635, allocations: 63.12 kB / 0.8005 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4636, allocations: 69.88 kB / 0.8005 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4637, allocations: 362.8 kB / 0.8009 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.4639, allocations: 77.94 kB / 0.8009 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.4643, allocations: 210.8 kB / 0.8011 GB, free: 420 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.4647, allocations: 235.6 kB / 0.8014 GB, free: 152 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4647, allocations: 0 / 0.8014 GB, free: 152 kB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006248/0.4653, allocations: 309.1 kB / 0.8017 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4654, allocations: 15.92 kB / 0.8017 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4654, allocations: 0 / 0.8017 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.4654, allocations: 7.984 kB / 0.8017 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.4657, allocations: 63.84 kB / 0.8018 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.4657, allocations: 4 kB / 0.8018 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.466, allocations: 47.92 kB / 0.8018 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.4661, allocations: 15.98 kB / 0.8018 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003184/0.4664, allocations: 215 kB / 0.802 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002711/0.4667, allocations: 210.2 kB / 0.8022 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003771/0.4671, allocations: 235.6 kB / 0.8024 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.4671, allocations: 3.984 kB / 0.8025 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005506/0.4676, allocations: 308.5 kB / 0.8027 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.4676, allocations: 8 kB / 0.8028 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4677, allocations: 4 kB / 0.8028 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.4677, allocations: 7.938 kB / 0.8028 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.4679, allocations: 59.91 kB / 0.8028 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4679, allocations: 4 kB / 0.8028 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.4683, allocations: 40.06 kB / 0.8029 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.4683, allocations: 12 kB / 0.8029 GB, free: 14.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001281/0.4684, allocations: 204.1 kB / 0.8031 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.4685, allocations: 55.27 kB / 0.8031 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/0.4691, allocations: 251.8 kB / 0.8034 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4691, allocations: 7.984 kB / 0.8034 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4691, allocations: 192 / 0.8034 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.4693, allocations: 148.4 kB / 0.8035 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.4693, allocations: 3.938 kB / 0.8035 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.4695, allocations: 15.98 kB / 0.8035 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.4696, allocations: 7.984 kB / 0.8035 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004593/0.47, allocations: 280.8 kB / 0.8038 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004826/0.4705, allocations: 412.5 kB / 0.8042 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001635/0.4707, allocations: 82.75 kB / 0.8043 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004432/0.4712, allocations: 414.8 kB / 0.8047 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of Backend: time 2.31e-07/0.4712, allocations: 0 / 0.8047 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.4735, allocations: 0.8843 MB / 0.8055 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002031/0.4756, allocations: 1.398 MB / 0.8069 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.01871/0.4943, allocations: 11.92 MB / 0.8185 GB, free: 14.71 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)