Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.0009228/0.0009228, allocations: 98.89 kB / 16.02 MB, free: 80 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.001078/0.001078, allocations: 182.8 kB / 16.92 MB, free: 6.754 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.302/1.302, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6509/0.6509, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002885, allocations: 8 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 77.52 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01925/0.1551, allocations: 16.82 MB / 0.5765 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006572/0.1617, allocations: 4.875 MB / 0.5812 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.1623, allocations: 11.94 kB / 0.5812 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008344/0.1632, allocations: 206.9 kB / 0.5814 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.1647, allocations: 0.556 MB / 0.582 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.1666, allocations: 0.6512 MB / 0.5826 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1681, allocations: 1.274 MB / 0.5839 GB, free: 500 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.1686, allocations: 284.4 kB / 0.5841 GB, free: 204 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2667/0.4353, allocations: 369 kB / 0.5845 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.436, allocations: 305.2 kB / 0.5848 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.436, allocations: 14.81 kB / 0.5848 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.4375, allocations: 0.6921 MB / 0.5855 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.4376, allocations: 120.7 kB / 0.5856 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.4379, allocations: 249.9 kB / 0.5858 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.439, allocations: 0.8477 MB / 0.5867 GB, free: 11.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.439, allocations: 2.125 kB / 0.5867 GB, free: 11.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.439, allocations: 1.375 kB / 0.5867 GB, free: 11.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.439, allocations: 0 / 0.5867 GB, free: 11.23 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00114/0.4402, allocations: 0.7971 MB / 0.5874 GB, free: 26.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4402, allocations: 14.28 kB / 0.5874 GB, free: 26.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.4403, allocations: 56.66 kB / 0.5875 GB, free: 26.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.4404, allocations: 60.09 kB / 0.5876 GB, free: 26.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.441, allocations: 449.2 kB / 0.588 GB, free: 26.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.441, allocations: 20.09 kB / 0.588 GB, free: 26.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.4411, allocations: 37.89 kB / 0.588 GB, free: 26.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.4416, allocations: 289.5 kB / 0.5883 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4416, allocations: 0 / 0.5883 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.4416, allocations: 10.91 kB / 0.5883 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.4416, allocations: 6.406 kB / 0.5883 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.4421, allocations: 203.9 kB / 0.5885 GB, free: 26.25 MB / 462.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.001773/0.4439, allocations: 1.477 MB / 0.59 GB, free: 25.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.4442, allocations: 172 kB / 0.5901 GB, free: 25.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.4444, allocations: 91.84 kB / 0.5902 GB, free: 25.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.4459, allocations: 1.285 MB / 0.5915 GB, free: 24.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.4459, allocations: 36.44 kB / 0.5915 GB, free: 24.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.4459, allocations: 0.625 kB / 0.5915 GB, free: 24.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006219/0.4465, allocations: 270.5 kB / 0.5918 GB, free: 24.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.4465, allocations: 61.31 kB / 0.5918 GB, free: 24.03 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.4473, allocations: 0.5848 MB / 0.5924 GB, free: 23.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4473, allocations: 27.2 kB / 0.5924 GB, free: 23.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4475, allocations: 271.3 kB / 0.5927 GB, free: 23.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.4475, allocations: 55.19 kB / 0.5927 GB, free: 23.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.4476, allocations: 29 kB / 0.5928 GB, free: 23.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4477, allocations: 369.2 kB / 0.5931 GB, free: 23.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.4479, allocations: 75.48 kB / 0.5932 GB, free: 23.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.4482, allocations: 210.3 kB / 0.5934 GB, free: 23.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.4486, allocations: 250.8 kB / 0.5936 GB, free: 23.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4486, allocations: 0.7188 kB / 0.5936 GB, free: 23.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005938/0.4492, allocations: 317.7 kB / 0.5939 GB, free: 23.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/0.4493, allocations: 162.4 kB / 0.5941 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4493, allocations: 3.156 kB / 0.5941 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4493, allocations: 3.375 kB / 0.5941 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.4496, allocations: 69.92 kB / 0.5942 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.4496, allocations: 6.844 kB / 0.5942 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.45, allocations: 48.62 kB / 0.5942 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.45, allocations: 15.14 kB / 0.5942 GB, free: 22.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.45, allocations: 3.906 kB / 0.5942 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004833/0.4505, allocations: 250.6 kB / 0.5945 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4505, allocations: 2.625 kB / 0.5945 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.4505, allocations: 4.219 kB / 0.5945 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4508, allocations: 69.92 kB / 0.5945 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4508, allocations: 10.83 kB / 0.5946 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.4511, allocations: 42.47 kB / 0.5946 GB, free: 22.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4511, allocations: 19.08 kB / 0.5946 GB, free: 22.88 MB / 462.1 MB 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.0002088/0.4513, allocations: 263.7 kB / 0.5949 GB, free: 22.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.4514, allocations: 45.77 kB / 0.5949 GB, free: 22.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.4519, allocations: 261.4 kB / 0.5952 GB, free: 22.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.452, allocations: 10.7 kB / 0.5952 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.452, allocations: 0 / 0.5952 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.452, allocations: 2.953 kB / 0.5952 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.453, allocations: 0.7488 MB / 0.5959 GB, free: 22.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4531, allocations: 5.969 kB / 0.5959 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.4532, allocations: 37.06 kB / 0.5959 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4532, allocations: 2.156 kB / 0.5959 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4532, allocations: 6.25 kB / 0.596 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4532, allocations: 3.234 kB / 0.596 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4532, allocations: 0.7188 kB / 0.596 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.4537, allocations: 367.1 kB / 0.5963 GB, free: 22.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.4539, allocations: 156.9 kB / 0.5965 GB, free: 21.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.4539, allocations: 6.469 kB / 0.5965 GB, free: 21.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.4542, allocations: 15.84 kB / 0.5965 GB, free: 21.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.4542, allocations: 15.89 kB / 0.5965 GB, free: 21.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.4542, allocations: 10.53 kB / 0.5965 GB, free: 21.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005011/0.4547, allocations: 419 kB / 0.5969 GB, free: 21.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4547, allocations: 0 / 0.5969 GB, free: 21.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.4556, allocations: 228.7 kB / 0.5971 GB, free: 21.82 MB / 462.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/0.4575, allocations: 1.3 MB / 0.5984 GB, free: 21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007874/0.4583, allocations: 332.8 kB / 0.5987 GB, free: 20.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4583, allocations: 5.156 kB / 0.5987 GB, free: 20.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.4585, allocations: 90.7 kB / 0.5988 GB, free: 20.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.46, allocations: 259.5 kB / 0.599 GB, free: 20.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.4657, allocations: 4.198 MB / 0.6031 GB, free: 18.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4662, allocations: 0.8489 MB / 0.604 GB, free: 18.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004304/0.4666, allocations: 106.1 kB / 0.6041 GB, free: 18.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.4668, allocations: 164.9 kB / 0.6042 GB, free: 18.25 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4668, allocations: 1.562 kB / 0.6042 GB, free: 18.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.4983, allocations: 14.18 MB / 0.6181 GB, free: 14.02 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/0.4985, allocations: 253.8 kB / 0.6183 GB, free: 13.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.47, allocations: 2.906 kB / 0.6183 GB, free: 13.77 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)