Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 112.9 kB / 16.42 MB, free: 6.441 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.001559/0.00156, allocations: 189.6 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 295.7 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 0.9807/0.9807, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 103.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4195, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01569/0.4352, allocations: 15.53 MB / 0.7822 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007104/0.4424, allocations: 4.338 MB / 0.7865 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.4433, allocations: 19.88 kB / 0.7865 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.4444, allocations: 266.4 kB / 0.7867 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.446, allocations: 0.5984 MB / 0.7873 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.4478, allocations: 0.7144 MB / 0.788 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.449, allocations: 1.029 MB / 0.789 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.4495, allocations: 337.6 kB / 0.7893 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006535/0.4502, allocations: 430.3 kB / 0.7897 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.4506, allocations: 310.6 kB / 0.79 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.4506, allocations: 35.94 kB / 0.7901 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4518, allocations: 0.6355 MB / 0.7907 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.452, allocations: 99.59 kB / 0.7908 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.4522, allocations: 226.8 kB / 0.791 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.4532, allocations: 0.7736 MB / 0.7918 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4532, allocations: 0 / 0.7918 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4532, allocations: 0 / 0.7918 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.4533, allocations: 0 / 0.7918 GB, free: 10.51 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001208/0.4545, allocations: 0.8329 MB / 0.7926 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4545, allocations: 12.02 kB / 0.7926 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4546, allocations: 52.38 kB / 0.7926 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.4553, allocations: 433.4 kB / 0.7931 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4553, allocations: 20.44 kB / 0.7931 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.4554, allocations: 28 kB / 0.7931 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.4558, allocations: 211.2 kB / 0.7933 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4558, allocations: 0 / 0.7933 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.4559, allocations: 12 kB / 0.7933 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.4559, allocations: 4 kB / 0.7933 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.4562, allocations: 169.6 kB / 0.7935 GB, free: 8.668 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.001529/0.4578, allocations: 0.9534 MB / 0.7944 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.4581, allocations: 126.6 kB / 0.7945 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.4582, allocations: 72.81 kB / 0.7946 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.4585, allocations: 336.4 kB / 0.7949 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.4586, allocations: 34.56 kB / 0.795 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.4586, allocations: 4 kB / 0.795 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006164/0.4592, allocations: 235.3 kB / 0.7952 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.4592, allocations: 51.41 kB / 0.7952 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.4597, allocations: 481.9 kB / 0.7957 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4598, allocations: 33.7 kB / 0.7957 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4599, allocations: 232.6 kB / 0.7959 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.46, allocations: 47.42 kB / 0.796 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.4601, allocations: 61.61 kB / 0.796 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4602, allocations: 354.7 kB / 0.7964 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.4604, allocations: 76.81 kB / 0.7965 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.4607, allocations: 151.1 kB / 0.7966 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.461, allocations: 165.3 kB / 0.7968 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4611, allocations: 0 / 0.7968 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005065/0.4616, allocations: 249 kB / 0.797 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4616, allocations: 8 kB / 0.797 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4616, allocations: 96 / 0.797 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4616, allocations: 3.938 kB / 0.797 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.4619, allocations: 51.91 kB / 0.7971 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4619, allocations: 4 kB / 0.7971 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.4622, allocations: 47.66 kB / 0.7971 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4622, allocations: 8 kB / 0.7971 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002817/0.4625, allocations: 195.9 kB / 0.7973 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002446/0.4628, allocations: 165.3 kB / 0.7975 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000326/0.4631, allocations: 168.2 kB / 0.7976 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.4631, allocations: 3.938 kB / 0.7976 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004984/0.4636, allocations: 247.8 kB / 0.7979 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4637, allocations: 11.94 kB / 0.7979 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.4637, allocations: 0 / 0.7979 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.4637, allocations: 3.984 kB / 0.7979 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.4639, allocations: 43.92 kB / 0.7979 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4639, allocations: 7.984 kB / 0.7979 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.4642, allocations: 23.89 kB / 0.7979 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4643, allocations: 20.05 kB / 0.798 GB, free: 3.746 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001184/0.4644, allocations: 200.1 kB / 0.7982 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.4645, allocations: 43.44 kB / 0.7982 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.465, allocations: 252.3 kB / 0.7984 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.465, allocations: 0 / 0.7984 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.465, allocations: 4 kB / 0.7984 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4652, allocations: 136.5 kB / 0.7986 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.4652, allocations: 4 kB / 0.7986 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.4654, allocations: 15.92 kB / 0.7986 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4655, allocations: 11.98 kB / 0.7986 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004448/0.4659, allocations: 264.8 kB / 0.7989 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004804/0.4664, allocations: 394.1 kB / 0.7992 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001703/0.4666, allocations: 83.84 kB / 0.7993 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004041/0.467, allocations: 330.9 kB / 0.7996 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of Backend: time 6.21e-07/0.467, allocations: 0 / 0.7996 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002372/0.4694, allocations: 0.8128 MB / 0.8004 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001847/0.4713, allocations: 1.248 MB / 0.8016 GB, free: 76 kB / 0.5606 GB Notification: Performance of Templates: time 0.01685/0.4881, allocations: 9.812 MB / 0.8112 GB, free: 6.398 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)