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.001422/0.001422, allocations: 178.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.52/0.52, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.385/1.385, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 105.6 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.831e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4898, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.78/1.27, allocations: 347.1 MB / 0.8993 GB, free: 2.781 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.27, allocations: 91.02 kB / 0.8994 GB, free: 2.734 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9026/2.173, allocations: 240.7 MB / 1.134 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/2.173, allocations: 0 / 1.134 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.624e-05/2.173, allocations: 16 kB / 1.135 GB, free: 46.65 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.002017/2.175, allocations: 0.9734 MB / 1.135 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/2.175, allocations: 15.98 kB / 1.135 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/2.175, allocations: 82.53 kB / 1.136 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/2.175, allocations: 86.97 kB / 1.136 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/2.176, allocations: 0.5151 MB / 1.136 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/2.177, allocations: 41 kB / 1.136 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/2.177, allocations: 55.95 kB / 1.136 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/2.177, allocations: 0.5588 MB / 1.137 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/2.177, allocations: 7.938 kB / 1.137 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/2.177, allocations: 20 kB / 1.137 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/2.177, allocations: 12 kB / 1.137 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/2.178, allocations: 398.8 kB / 1.137 GB, free: 43.73 MB / 0.6042 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.003185/2.181, allocations: 3.204 MB / 1.14 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/2.182, allocations: 302.5 kB / 1.141 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/2.182, allocations: 183.6 kB / 1.141 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/2.182, allocations: 348.4 kB / 1.141 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/2.182, allocations: 46.64 kB / 1.141 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 2.284e-06/2.182, allocations: 3.938 kB / 1.141 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.0008476/2.183, allocations: 417.7 kB / 1.142 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/2.183, allocations: 59.41 kB / 1.142 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/2.184, allocations: 0.515 MB / 1.142 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/2.184, allocations: 33.7 kB / 1.142 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/2.184, allocations: 328.5 kB / 1.142 GB, free: 38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/2.184, allocations: 126.1 kB / 1.143 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/2.184, allocations: 12 kB / 1.143 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/2.184, allocations: 370.8 kB / 1.143 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/2.185, allocations: 165.5 kB / 1.143 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/2.185, allocations: 353.6 kB / 1.143 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/2.185, allocations: 197.5 kB / 1.144 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/2.185, allocations: 8 kB / 1.144 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009755/2.186, allocations: 0.6057 MB / 1.144 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003648/2.187, allocations: 1.752 MB / 1.146 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/2.187, allocations: 4 kB / 1.146 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/2.187, allocations: 144.7 kB / 1.146 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/2.188, allocations: 151.8 kB / 1.146 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004761/2.188, allocations: 0.6186 MB / 1.147 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/2.189, allocations: 111.4 kB / 1.147 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/2.189, allocations: 31.98 kB / 1.147 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.659e-06/2.189, allocations: 4 kB / 1.147 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008054/2.19, allocations: 0.51 MB / 1.147 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/2.19, allocations: 7.984 kB / 1.147 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/2.19, allocations: 8 kB / 1.147 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/2.191, allocations: 159.8 kB / 1.148 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/2.191, allocations: 11.94 kB / 1.148 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/2.191, allocations: 99.62 kB / 1.148 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/2.191, allocations: 35.98 kB / 1.148 GB, free: 32.29 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 () * 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.0001515/2.192, allocations: 142.7 kB / 1.148 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/2.192, allocations: 63.2 kB / 1.148 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/2.193, allocations: 0.5652 MB / 1.149 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/2.193, allocations: 7.938 kB / 1.149 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/2.193, allocations: 0 / 1.149 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/2.193, allocations: 3.984 kB / 1.149 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/2.195, allocations: 1.262 MB / 1.15 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/2.195, allocations: 8.094 kB / 1.15 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/2.195, allocations: 91.88 kB / 1.15 GB, free: 30.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/2.196, allocations: 116.8 kB / 1.15 GB, free: 29.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/2.196, allocations: 15.95 kB / 1.15 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004391/2.196, allocations: 0.6187 MB / 1.151 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/2.196, allocations: 0 / 1.151 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/2.197, allocations: 0.6588 MB / 1.151 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/2.197, allocations: 196 kB / 1.151 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/2.198, allocations: 19.94 kB / 1.151 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/2.198, allocations: 51.95 kB / 1.152 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/2.198, allocations: 31.95 kB / 1.152 GB, free: 28.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/2.198, allocations: 19.98 kB / 1.152 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004146/2.199, allocations: 391.2 kB / 1.152 GB, free: 27.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/2.199, allocations: 0 / 1.152 GB, free: 27.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001365/2.2, allocations: 435.3 kB / 1.152 GB, free: 27.44 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 () * 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.002016/2.202, allocations: 1.725 MB / 1.154 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001417/2.203, allocations: 0.7613 MB / 1.155 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/2.204, allocations: 0 / 1.155 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/2.204, allocations: 247.8 kB / 1.155 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/2.205, allocations: 257.2 kB / 1.155 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/2.207, allocations: 0.9338 MB / 1.156 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/2.208, allocations: 0.9247 MB / 1.157 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009229/2.209, allocations: 193 kB / 1.157 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/2.209, allocations: 234.2 kB / 1.157 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/2.209, allocations: 0 / 1.157 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06177/2.271, allocations: 20.35 MB / 1.177 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/2.271, allocations: 238.1 kB / 1.178 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/5.139, allocations: 0 / 1.178 GB, free: 1.719 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)