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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007114/0.0007114, allocations: 93.73 kB / 16.02 MB, free: 84 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.0007799/0.00078, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.278/1.278, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6708/0.6708, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 9.156 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 77.53 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01853/0.1589, allocations: 18.75 MB / 0.5784 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007065/0.166, allocations: 5.111 MB / 0.5833 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/0.1669, allocations: 23.81 kB / 0.5834 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.1678, allocations: 210.7 kB / 0.5836 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.1697, allocations: 0.7063 MB / 0.5843 GB, free: 68 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2545/0.4242, allocations: 0.7785 MB / 0.585 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002632/0.4269, allocations: 1.938 MB / 0.5869 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.4276, allocations: 442.3 kB / 0.5873 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.4287, allocations: 0.558 MB / 0.5879 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/0.4294, allocations: 0.5211 MB / 0.5884 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/0.4295, allocations: 28.09 kB / 0.5884 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.4309, allocations: 0.6573 MB / 0.5891 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.4311, allocations: 136.6 kB / 0.5892 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.4314, allocations: 375.1 kB / 0.5895 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.4328, allocations: 1.042 MB / 0.5906 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4328, allocations: 0 / 0.5906 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4328, allocations: 3.938 kB / 0.5906 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.4329, allocations: 0 / 0.5906 GB, free: 10.45 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001815/0.4347, allocations: 0.9886 MB / 0.5915 GB, free: 25.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4347, allocations: 9.734 kB / 0.5915 GB, free: 25.8 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.4348, allocations: 86.42 kB / 0.5916 GB, free: 25.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.435, allocations: 96.39 kB / 0.5917 GB, free: 25.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.4357, allocations: 0.4922 MB / 0.5922 GB, free: 25.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.4357, allocations: 38.62 kB / 0.5922 GB, free: 25.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.4358, allocations: 53.19 kB / 0.5923 GB, free: 25.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4369, allocations: 0.6388 MB / 0.5929 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.437, allocations: 4.531 kB / 0.5929 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.437, allocations: 17.97 kB / 0.5929 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.437, allocations: 11.78 kB / 0.5929 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.4382, allocations: 0.5178 MB / 0.5934 GB, free: 25.22 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.003236/0.4414, allocations: 3.215 MB / 0.5966 GB, free: 22.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.4422, allocations: 351.1 kB / 0.5969 GB, free: 22.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.4427, allocations: 246.7 kB / 0.5972 GB, free: 22.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.443, allocations: 349.1 kB / 0.5975 GB, free: 22.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.443, allocations: 37.23 kB / 0.5975 GB, free: 22.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.643e-06/0.4431, allocations: 0 / 0.5975 GB, free: 22.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002291/0.4454, allocations: 0.8726 MB / 0.5984 GB, free: 22.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.4454, allocations: 55 kB / 0.5984 GB, free: 22.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.4462, allocations: 0.5921 MB / 0.599 GB, free: 22.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.4463, allocations: 31.42 kB / 0.599 GB, free: 22.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.4466, allocations: 327.1 kB / 0.5993 GB, free: 21.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4467, allocations: 130.9 kB / 0.5995 GB, free: 21.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.4468, allocations: 63.61 kB / 0.5995 GB, free: 21.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.447, allocations: 374.2 kB / 0.5999 GB, free: 21.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.4476, allocations: 225.6 kB / 0.6001 GB, free: 21.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.4483, allocations: 382.6 kB / 0.6005 GB, free: 21.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.4495, allocations: 0.5966 MB / 0.601 GB, free: 21.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4495, allocations: 2.281 kB / 0.6011 GB, free: 21.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001793/0.4513, allocations: 0.7497 MB / 0.6018 GB, free: 21.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.4515, allocations: 223.4 kB / 0.602 GB, free: 20.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.4515, allocations: 4.719 kB / 0.602 GB, free: 20.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/0.4523, allocations: 160 kB / 0.6022 GB, free: 20.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.4528, allocations: 152.3 kB / 0.6023 GB, free: 20.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005798/0.4534, allocations: 0.6199 MB / 0.6029 GB, free: 20.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.4542, allocations: 102.8 kB / 0.603 GB, free: 20.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.4543, allocations: 30.78 kB / 0.603 GB, free: 20.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.4543, allocations: 4.469 kB / 0.603 GB, free: 20.26 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/0.4556, allocations: 0.6235 MB / 0.6036 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4556, allocations: 10.41 kB / 0.6037 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.4557, allocations: 7.422 kB / 0.6037 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.4563, allocations: 162.5 kB / 0.6038 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4563, allocations: 7.812 kB / 0.6038 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.4568, allocations: 99.39 kB / 0.6039 GB, free: 20.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.4569, allocations: 31.19 kB / 0.6039 GB, free: 20.21 MB / 462.1 MB 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003512/0.4573, allocations: 274.2 kB / 0.6042 GB, free: 20.01 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4574, allocations: 62.31 kB / 0.6043 GB, free: 19.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.4589, allocations: 0.6806 MB / 0.6049 GB, free: 19.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4589, allocations: 8.547 kB / 0.6049 GB, free: 19.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4589, allocations: 0 / 0.6049 GB, free: 19.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4589, allocations: 1.875 kB / 0.6049 GB, free: 19.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.4614, allocations: 1.407 MB / 0.6063 GB, free: 19.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4614, allocations: 1.406 kB / 0.6063 GB, free: 19.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.4618, allocations: 93.67 kB / 0.6064 GB, free: 19.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/0.4622, allocations: 128.4 kB / 0.6065 GB, free: 19.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.4623, allocations: 15.81 kB / 0.6065 GB, free: 19.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005812/0.4628, allocations: 0.637 MB / 0.6072 GB, free: 18.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4629, allocations: 5.406 kB / 0.6072 GB, free: 18.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.4644, allocations: 0.7339 MB / 0.6079 GB, free: 18.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.4646, allocations: 200.7 kB / 0.6081 GB, free: 18.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.4647, allocations: 11.2 kB / 0.6081 GB, free: 18.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.4652, allocations: 61.16 kB / 0.6082 GB, free: 18.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.4653, allocations: 32.38 kB / 0.6082 GB, free: 18.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.4653, allocations: 19.05 kB / 0.6082 GB, free: 18.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004856/0.4658, allocations: 402.2 kB / 0.6086 GB, free: 18.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4658, allocations: 0 / 0.6086 GB, free: 18.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001204/0.467, allocations: 388.2 kB / 0.609 GB, free: 18.45 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001985/0.469, allocations: 1.48 MB / 0.6104 GB, free: 17.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4708, allocations: 0.9049 MB / 0.6113 GB, free: 17.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4709, allocations: 0 / 0.6113 GB, free: 17.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.4715, allocations: 304.7 kB / 0.6116 GB, free: 17.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.473, allocations: 260.2 kB / 0.6118 GB, free: 17.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.4804, allocations: 5.77 MB / 0.6175 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.4809, allocations: 0.913 MB / 0.6183 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005656/0.4814, allocations: 156.3 kB / 0.6185 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.4817, allocations: 242.7 kB / 0.6187 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4817, allocations: 1.438 kB / 0.6187 GB, free: 13.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.5135, allocations: 17.66 MB / 0.636 GB, free: 0.543 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.5138, allocations: 293 kB / 0.6363 GB, free: 168 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.607, allocations: 0 / 0.6363 GB, free: 168 kB / 462.1 MB (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/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)