Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007228/0.0007228, allocations: 93.25 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008458/0.0008457, allocations: 176.9 kB / 16.58 MB, free: 5.676 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.219/1.219, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6159/0.6159, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002706, allocations: 12.95 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0135/0.1307, allocations: 14.2 MB / 0.5708 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.136, allocations: 4.053 MB / 0.5747 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006207/0.1367, allocations: 11.88 kB / 0.5747 GB, free: 9.336 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007915/0.1375, allocations: 202.9 kB / 0.5749 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.1388, allocations: 489.4 kB / 0.5754 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.1404, allocations: 0.6074 MB / 0.576 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.1417, allocations: 1.126 MB / 0.5771 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.1422, allocations: 254.8 kB / 0.5773 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.143, allocations: 366.4 kB / 0.5777 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.1434, allocations: 306.6 kB / 0.578 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.1435, allocations: 12 kB / 0.578 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009637/0.1445, allocations: 0.538 MB / 0.5785 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1446, allocations: 83.66 kB / 0.5786 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1447, allocations: 105.5 kB / 0.5787 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.1454, allocations: 0.526 MB / 0.5792 GB, free: 4.746 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1454, allocations: 0 / 0.5792 GB, free: 4.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1455, allocations: 0 / 0.5792 GB, free: 4.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.1455, allocations: 4 kB / 0.5792 GB, free: 4.742 MB / 446.1 MB 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.001021/0.1465, allocations: 0.7512 MB / 0.5799 GB, free: 3.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1465, allocations: 8.031 kB / 0.5799 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.1466, allocations: 54.55 kB / 0.58 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.1467, allocations: 59.34 kB / 0.5801 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.1472, allocations: 393 kB / 0.5804 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1473, allocations: 20.44 kB / 0.5804 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1473, allocations: 28 kB / 0.5805 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.1477, allocations: 219.2 kB / 0.5807 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1477, allocations: 0 / 0.5807 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1477, allocations: 12 kB / 0.5807 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1477, allocations: 8 kB / 0.5807 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.1481, allocations: 173.6 kB / 0.5809 GB, free: 2.934 MB / 446.1 MB 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.001343/0.1494, allocations: 0.9536 MB / 0.5818 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1497, allocations: 134.6 kB / 0.5819 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1498, allocations: 76.81 kB / 0.582 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.1501, allocations: 332.4 kB / 0.5823 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1501, allocations: 42.48 kB / 0.5824 GB, free: 1.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1501, allocations: 4 kB / 0.5824 GB, free: 1.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005342/0.1507, allocations: 245 kB / 0.5826 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1507, allocations: 63.3 kB / 0.5827 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.1512, allocations: 474 kB / 0.5831 GB, free: 452 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1512, allocations: 37.64 kB / 0.5831 GB, free: 408 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1514, allocations: 228.6 kB / 0.5834 GB, free: 176 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1514, allocations: 51.3 kB / 0.5834 GB, free: 124 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.1514, allocations: 0 / 0.5834 GB, free: 124 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2289/0.3803, allocations: 354.8 kB / 0.5838 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.3807, allocations: 62.86 kB / 0.5838 GB, free: 34.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.3811, allocations: 156.8 kB / 0.584 GB, free: 34.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.3815, allocations: 90.7 kB / 0.584 GB, free: 34.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3815, allocations: 1.812 kB / 0.584 GB, free: 34.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008425/0.3824, allocations: 261.5 kB / 0.5843 GB, free: 34.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.3824, allocations: 108.1 kB / 0.5844 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3825, allocations: 4.188 kB / 0.5844 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3825, allocations: 2.156 kB / 0.5844 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.3828, allocations: 48.78 kB / 0.5845 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3829, allocations: 5.109 kB / 0.5845 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.3834, allocations: 41.02 kB / 0.5845 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.3835, allocations: 12.61 kB / 0.5845 GB, free: 33.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.3835, allocations: 2.688 kB / 0.5845 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005706/0.3841, allocations: 192 kB / 0.5847 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3841, allocations: 1.281 kB / 0.5847 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.3841, allocations: 1.875 kB / 0.5847 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.3844, allocations: 47.61 kB / 0.5847 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3844, allocations: 5.531 kB / 0.5847 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.3849, allocations: 43.7 kB / 0.5848 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.3849, allocations: 7.406 kB / 0.5848 GB, free: 33.98 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.3852, allocations: 248.9 kB / 0.585 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3853, allocations: 42 kB / 0.5851 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.3861, allocations: 263.8 kB / 0.5853 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3861, allocations: 2.297 kB / 0.5853 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3862, allocations: 0 / 0.5853 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3862, allocations: 3.984 kB / 0.5853 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.3876, allocations: 0.7162 MB / 0.586 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3876, allocations: 1.406 kB / 0.586 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3878, allocations: 36.27 kB / 0.5861 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3878, allocations: 1.688 kB / 0.5861 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3878, allocations: 11.33 kB / 0.5861 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3878, allocations: 1.219 kB / 0.5861 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3878, allocations: 5.781 kB / 0.5861 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.3884, allocations: 344 kB / 0.5864 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.3886, allocations: 145.9 kB / 0.5866 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.3887, allocations: 7.516 kB / 0.5866 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.3891, allocations: 36.41 kB / 0.5866 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3891, allocations: 11.92 kB / 0.5866 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3892, allocations: 6.766 kB / 0.5866 GB, free: 33.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005781/0.3897, allocations: 331 kB / 0.5869 GB, free: 32.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3898, allocations: 3.688 kB / 0.5869 GB, free: 32.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001049/0.3908, allocations: 195.3 kB / 0.5871 GB, free: 32.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * 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.002106/0.3929, allocations: 1.252 MB / 0.5883 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008979/0.3938, allocations: 278.5 kB / 0.5886 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3939, allocations: 0.6562 kB / 0.5886 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.3941, allocations: 90.47 kB / 0.5887 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.3958, allocations: 226 kB / 0.5889 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.4006, allocations: 2.275 MB / 0.5911 GB, free: 31.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.4009, allocations: 0.8321 MB / 0.5919 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004638/0.4014, allocations: 90.39 kB / 0.592 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.4016, allocations: 143.2 kB / 0.5922 GB, free: 30.43 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4017, allocations: 4.781 kB / 0.5922 GB, free: 30.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.4279, allocations: 12.25 MB / 0.6041 GB, free: 27.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.4281, allocations: 243 kB / 0.6044 GB, free: 26.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.286, allocations: 1.156 kB / 0.6044 GB, free: 26.97 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: