Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4976/0.4976, allocations: 90.9 MB / 99.33 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 102.5 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.774e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9576/1.094, allocations: 346.5 MB / 0.892 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.094, allocations: 94.25 kB / 0.8921 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7473/1.841, allocations: 238.9 MB / 1.125 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.753e-06/1.841, allocations: 4 kB / 1.125 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.401e-05/1.842, allocations: 19.52 kB / 1.125 GB, free: 130.8 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002191/1.844, allocations: 0.976 MB / 1.126 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.844, allocations: 12.03 kB / 1.126 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/1.844, allocations: 82.97 kB / 1.126 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.845, allocations: 0.5067 MB / 1.127 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/1.845, allocations: 16 kB / 1.127 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/1.845, allocations: 32 kB / 1.127 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005927/1.846, allocations: 362.5 kB / 1.127 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/1.846, allocations: 0.5016 MB / 1.128 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.847, allocations: 0 / 1.128 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/1.847, allocations: 4 kB / 1.128 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.847, allocations: 12 kB / 1.128 GB, free: 128.2 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.003099/1.85, allocations: 3.121 MB / 1.131 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/1.85, allocations: 282.8 kB / 1.131 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/1.85, allocations: 172.8 kB / 1.131 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/1.851, allocations: 342.8 kB / 1.132 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/1.851, allocations: 50.58 kB / 1.132 GB, free: 124 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=38): time 2.354e-06/1.851, allocations: 0 / 1.132 GB, free: 124 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38): time 0.002004/1.853, allocations: 0.6693 MB / 1.132 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/1.853, allocations: 55.41 kB / 1.132 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/1.853, allocations: 447.4 kB / 1.133 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/1.853, allocations: 29.7 kB / 1.133 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.853, allocations: 328.2 kB / 1.133 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/1.853, allocations: 126.1 kB / 1.133 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/1.853, allocations: 0 / 1.133 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.207e-05/1.854, allocations: 366.8 kB / 1.134 GB, free: 122 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/1.854, allocations: 153 kB / 1.134 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/1.854, allocations: 326.4 kB / 1.134 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/1.855, allocations: 432.4 kB / 1.134 GB, free: 121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.855, allocations: 0 / 1.134 GB, free: 121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001852/1.857, allocations: 0.7994 MB / 1.135 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/1.858, allocations: 1.748 MB / 1.137 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.858, allocations: 4 kB / 1.137 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/1.858, allocations: 100.8 kB / 1.137 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/1.859, allocations: 135.8 kB / 1.137 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008415/1.859, allocations: 0.7122 MB / 1.138 GB, free: 117.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/1.86, allocations: 87.39 kB / 1.138 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/1.86, allocations: 39.97 kB / 1.138 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.86, allocations: 5.406 kB / 1.138 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/1.862, allocations: 0.6658 MB / 1.139 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.862, allocations: 4 kB / 1.139 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.862, allocations: 8 kB / 1.139 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/1.863, allocations: 160.2 kB / 1.139 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.863, allocations: 15.94 kB / 1.139 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/1.863, allocations: 75.53 kB / 1.139 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/1.863, allocations: 31.98 kB / 1.139 GB, free: 116.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.863, allocations: 120.8 kB / 1.139 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001613/1.865, allocations: 0.6259 MB / 1.14 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.865, allocations: 59.25 kB / 1.14 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/1.867, allocations: 0.7714 MB / 1.141 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.867, allocations: 8.094 kB / 1.141 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.867, allocations: 0 / 1.141 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.867, allocations: 3.984 kB / 1.141 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/1.87, allocations: 1.421 MB / 1.142 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.87, allocations: 0 / 1.142 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/1.87, allocations: 91.88 kB / 1.142 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/1.871, allocations: 108.9 kB / 1.142 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/1.871, allocations: 11.98 kB / 1.142 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007138/1.871, allocations: 0.6811 MB / 1.143 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.871, allocations: 4.031 kB / 1.143 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.873, allocations: 0.8808 MB / 1.144 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/1.873, allocations: 200 kB / 1.144 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/1.873, allocations: 0 / 1.144 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/1.874, allocations: 55.88 kB / 1.144 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/1.874, allocations: 31.95 kB / 1.144 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/1.874, allocations: 20 kB / 1.144 GB, free: 111 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000293/1.874, allocations: 335.2 kB / 1.144 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.874, allocations: 0 / 1.144 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001193/1.876, allocations: 398.2 kB / 1.145 GB, free: 110.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00261/1.878, allocations: 1.92 MB / 1.147 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.879, allocations: 0.7038 MB / 1.147 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.879, allocations: 4 kB / 1.147 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/1.88, allocations: 233 kB / 1.147 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.881, allocations: 241.2 kB / 1.148 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.883, allocations: 0.8958 MB / 1.149 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.883, allocations: 0.9245 MB / 1.149 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006519/1.884, allocations: 172.6 kB / 1.15 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/1.884, allocations: 231.3 kB / 1.15 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of SimCode: time 5.52e-07/1.884, allocations: 0 / 1.15 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/1.923, allocations: 17.46 MB / 1.167 GB, free: 87.58 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/1.924, allocations: 192.5 kB / 1.167 GB, free: 87.39 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/4.37, allocations: 0 / 1.167 GB, free: 87.39 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)