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.00138/0.00138, allocations: 180.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5244/0.5244, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.1 MB / 354.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009887, allocations: 95.88 kB / 427.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1874, allocations: 72.31 MB / 0.5689 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.413, allocations: 347.2 MB / 0.908 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.414, allocations: 93.92 kB / 0.9081 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9631/2.377, allocations: 241.4 MB / 1.144 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.187e-06/2.377, allocations: 0 / 1.144 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.334e-05/2.377, allocations: 27.3 kB / 1.144 GB, free: 139.3 MB / 0.6042 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.002787/2.38, allocations: 1.088 MB / 1.145 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/2.38, allocations: 8.031 kB / 1.145 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/2.38, allocations: 90.45 kB / 1.145 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/2.38, allocations: 83.06 kB / 1.145 GB, free: 138 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/2.382, allocations: 0.515 MB / 1.146 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/2.382, allocations: 44.94 kB / 1.146 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/2.382, allocations: 55.95 kB / 1.146 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/2.383, allocations: 0.6216 MB / 1.146 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/2.383, allocations: 4 kB / 1.146 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/2.383, allocations: 16 kB / 1.146 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/2.383, allocations: 15.94 kB / 1.146 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/2.384, allocations: 0.5073 MB / 1.147 GB, free: 136.2 MB / 0.6042 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.003417/2.387, allocations: 3.22 MB / 1.15 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/2.388, allocations: 335.4 kB / 1.15 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/2.388, allocations: 355.1 kB / 1.151 GB, free: 132 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/2.388, allocations: 46.59 kB / 1.151 GB, free: 132 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 2.224e-06/2.388, allocations: 0 / 1.151 GB, free: 132 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001982/2.39, allocations: 0.8321 MB / 1.151 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/2.39, allocations: 55.41 kB / 1.152 GB, free: 131 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/2.391, allocations: 0.5073 MB / 1.152 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/2.391, allocations: 37.7 kB / 1.152 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/2.391, allocations: 327.2 kB / 1.152 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/2.391, allocations: 136.9 kB / 1.152 GB, free: 130 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/2.391, allocations: 12 kB / 1.153 GB, free: 130 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001301/2.392, allocations: 370.8 kB / 1.153 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/2.392, allocations: 217.2 kB / 1.153 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/2.393, allocations: 396.3 kB / 1.153 GB, free: 129 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/2.393, allocations: 256.7 kB / 1.154 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.393, allocations: 0 / 1.154 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001392/2.395, allocations: 0.7189 MB / 1.154 GB, free: 128 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005458/2.395, allocations: 1.751 MB / 1.156 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/2.395, allocations: 8 kB / 1.156 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006931/2.396, allocations: 146.6 kB / 1.156 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/2.397, allocations: 159.8 kB / 1.156 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006383/2.397, allocations: 0.6304 MB / 1.157 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/2.398, allocations: 107.3 kB / 1.157 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/2.398, allocations: 35.98 kB / 1.157 GB, free: 125 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/2.398, allocations: 5.875 kB / 1.157 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001174/2.399, allocations: 0.6111 MB / 1.158 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.399, allocations: 4 kB / 1.158 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/2.399, allocations: 8 kB / 1.158 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/2.4, allocations: 168.3 kB / 1.158 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/2.4, allocations: 11.94 kB / 1.158 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/2.401, allocations: 87.53 kB / 1.158 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/2.401, allocations: 35.98 kB / 1.158 GB, free: 124.1 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003856/2.401, allocations: 268.9 kB / 1.158 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/2.402, allocations: 67.11 kB / 1.158 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/2.403, allocations: 0.6784 MB / 1.159 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/2.403, allocations: 4 kB / 1.159 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.403, allocations: 0 / 1.159 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/2.403, allocations: 3.938 kB / 1.159 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/2.405, allocations: 1.361 MB / 1.16 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/2.405, allocations: 4.094 kB / 1.16 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/2.406, allocations: 91.88 kB / 1.16 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000389/2.406, allocations: 136.8 kB / 1.161 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/2.406, allocations: 15.95 kB / 1.161 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005035/2.407, allocations: 0.6305 MB / 1.161 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.407, allocations: 0 / 1.161 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/2.408, allocations: 0.7568 MB / 1.162 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/2.408, allocations: 200 kB / 1.162 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/2.408, allocations: 11.95 kB / 1.162 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/2.409, allocations: 62.88 kB / 1.162 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/2.409, allocations: 35.95 kB / 1.162 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/2.409, allocations: 19.98 kB / 1.162 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004394/2.41, allocations: 399.1 kB / 1.163 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.61e-07/2.41, allocations: 0 / 1.163 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001416/2.411, allocations: 418.4 kB / 1.163 GB, free: 118.8 MB / 0.6042 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 () * Number of clocked 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.002349/2.413, allocations: 1.822 MB / 1.165 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001884/2.415, allocations: 0.9059 MB / 1.166 GB, free: 116 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/2.415, allocations: 0 / 1.166 GB, free: 116 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/2.416, allocations: 296 kB / 1.166 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/2.417, allocations: 261.8 kB / 1.166 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/2.42, allocations: 4.649 MB / 1.171 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/2.421, allocations: 0.9276 MB / 1.172 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006321/2.421, allocations: 156.1 kB / 1.172 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/2.422, allocations: 239.3 kB / 1.172 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/2.422, allocations: 0 / 1.172 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/2.459, allocations: 19.05 MB / 1.191 GB, free: 90.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/2.459, allocations: 270.6 kB / 1.191 GB, free: 90.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/5.291, allocations: 3.938 kB / 1.191 GB, free: 90.31 MB / 0.6042 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)