Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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: 99.78 kB / 15.05 MB, free: 1.105 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.001191/0.001191, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.9 MB / 0.51 GB, free: 4.766 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000554/0.0005542, allocations: 12 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6833, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01826/0.7017, allocations: 14.85 MB / 0.7425 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.7127, allocations: 6.7 MB / 0.749 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.7134, allocations: 11.88 kB / 0.749 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.7146, allocations: 286.7 kB / 0.7493 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.7162, allocations: 0.5491 MB / 0.7498 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005035/0.7212, allocations: 1.666 MB / 0.7515 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.7224, allocations: 0.5934 MB / 0.752 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.7228, allocations: 266.6 kB / 0.7523 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.7234, allocations: 334.8 kB / 0.7526 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.7237, allocations: 219.1 kB / 0.7528 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.7238, allocations: 16 kB / 0.7528 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.7249, allocations: 451.3 kB / 0.7533 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.725, allocations: 115.6 kB / 0.7534 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.7251, allocations: 113.5 kB / 0.7535 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.7259, allocations: 0.5417 MB / 0.754 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.7259, allocations: 0 / 0.754 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7259, allocations: 0 / 0.754 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7259, allocations: 0 / 0.754 GB, free: 0.6836 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.001374/0.7273, allocations: 0.7824 MB / 0.7548 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7273, allocations: 8.031 kB / 0.7548 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.7275, allocations: 59.33 kB / 0.7548 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.7282, allocations: 437.4 kB / 0.7553 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.7283, allocations: 24.56 kB / 0.7553 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.7283, allocations: 31.95 kB / 0.7553 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.7288, allocations: 276.5 kB / 0.7556 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7289, allocations: 0 / 0.7556 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.7289, allocations: 12 kB / 0.7556 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.7289, allocations: 8 kB / 0.7556 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.7294, allocations: 210.1 kB / 0.7558 GB, free: 14.75 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.001844/0.7312, allocations: 1.285 MB / 0.757 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.7316, allocations: 195.3 kB / 0.7572 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.7332, allocations: 1.323 MB / 0.7585 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.7332, allocations: 30.56 kB / 0.7586 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.7332, allocations: 0 / 0.7586 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0006689/0.7339, allocations: 295.1 kB / 0.7588 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.7339, allocations: 59.34 kB / 0.7589 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.7346, allocations: 0.5691 MB / 0.7594 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.7346, allocations: 37.7 kB / 0.7595 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.7349, allocations: 264.2 kB / 0.7597 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.7349, allocations: 59.11 kB / 0.7598 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.7349, allocations: 8 kB / 0.7598 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.7351, allocations: 362.7 kB / 0.7601 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.7353, allocations: 79.95 kB / 0.7602 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.7357, allocations: 203.9 kB / 0.7604 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.7359, allocations: 109.7 kB / 0.7605 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7359, allocations: 0 / 0.7605 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006139/0.7366, allocations: 336.6 kB / 0.7608 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003343/0.7369, allocations: 0.7892 MB / 0.7616 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7369, allocations: 8.047 kB / 0.7616 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7369, allocations: 3.938 kB / 0.7616 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.7372, allocations: 67.91 kB / 0.7617 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.7372, allocations: 7.938 kB / 0.7617 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.7376, allocations: 55.66 kB / 0.7618 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.7376, allocations: 8 kB / 0.7618 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.7376, allocations: 4 kB / 0.7618 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004963/0.7381, allocations: 259.5 kB / 0.762 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7381, allocations: 4 kB / 0.762 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/0.7382, allocations: 4 kB / 0.762 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.7384, allocations: 63.91 kB / 0.7621 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7384, allocations: 8.188 kB / 0.7621 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.7387, allocations: 47.66 kB / 0.7621 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.7388, allocations: 12 kB / 0.7621 GB, free: 7.797 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.739, allocations: 265 kB / 0.7624 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.7391, allocations: 43.44 kB / 0.7624 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.7397, allocations: 309.9 kB / 0.7627 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.7397, allocations: 7.938 kB / 0.7627 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7397, allocations: 4 kB / 0.7627 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7397, allocations: 3.953 kB / 0.7627 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7408, allocations: 0.7727 MB / 0.7635 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7409, allocations: 4 kB / 0.7635 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.741, allocations: 35.92 kB / 0.7635 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.741, allocations: 4 kB / 0.7635 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.7411, allocations: 11.94 kB / 0.7636 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.7411, allocations: 4 kB / 0.7636 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7411, allocations: 0 / 0.7636 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.7418, allocations: 0.5165 MB / 0.7641 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.742, allocations: 160.5 kB / 0.7642 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.7422, allocations: 7.953 kB / 0.7642 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.7424, allocations: 20.05 kB / 0.7642 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.7425, allocations: 15.98 kB / 0.7643 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.7425, allocations: 11.98 kB / 0.7643 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004429/0.7429, allocations: 410.8 kB / 0.7647 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7429, allocations: 0 / 0.7647 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007483/0.7437, allocations: 231.7 kB / 0.7649 GB, free: 4.836 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/0.7448, allocations: 0.492 MB / 0.7654 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007776/0.7456, allocations: 359.5 kB / 0.7657 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7456, allocations: 0 / 0.7657 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.7459, allocations: 107.8 kB / 0.7658 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7472, allocations: 247.6 kB / 0.766 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.7488, allocations: 1.027 MB / 0.767 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.7494, allocations: 0.8702 MB / 0.7679 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003692/0.7497, allocations: 100.3 kB / 0.768 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.7498, allocations: 35.44 kB / 0.768 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.7498, allocations: 3.938 kB / 0.768 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of Templates: time 0.01813/0.768, allocations: 9.793 MB / 0.7776 GB, free: 8.027 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: