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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 183.4 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.58/0.58, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.618/1.618, allocations: 223.2 MB / 354.3 MB, free: 10.41 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.00131/0.00131, allocations: 99.38 kB / 427.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 12 kB / 0.4983 GB, free: 41.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 72.31 MB / 0.5689 GB, free: 1.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.422, allocations: 354.1 MB / 0.9147 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/1.423, allocations: 100.1 kB / 0.9148 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.754/2.177, allocations: 179.1 MB / 1.09 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/2.177, allocations: 0 / 1.09 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.449e-05/2.177, allocations: 14.12 kB / 1.09 GB, free: 167.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001355/2.178, allocations: 0.8804 MB / 1.091 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/2.178, allocations: 12.31 kB / 1.091 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/2.178, allocations: 56.31 kB / 1.091 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/2.178, allocations: 63.22 kB / 1.091 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/2.179, allocations: 458.2 kB / 1.091 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/2.179, allocations: 19.81 kB / 1.091 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/2.179, allocations: 37.25 kB / 1.091 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/2.18, allocations: 291.9 kB / 1.091 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/2.18, allocations: 3.938 kB / 1.091 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/2.18, allocations: 8.469 kB / 1.091 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/2.18, allocations: 6.562 kB / 1.091 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/2.18, allocations: 204.3 kB / 1.092 GB, free: 166.7 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.001619/2.182, allocations: 1.5 MB / 1.093 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/2.182, allocations: 165 kB / 1.093 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/2.183, allocations: 1.289 MB / 1.095 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/2.183, allocations: 38.66 kB / 1.095 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/2.183, allocations: 3.125 kB / 1.095 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005629/2.184, allocations: 262.6 kB / 1.095 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/2.184, allocations: 51.97 kB / 1.095 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/2.184, allocations: 0.518 MB / 1.095 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/2.184, allocations: 32.39 kB / 1.095 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/2.185, allocations: 270.5 kB / 1.096 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/2.185, allocations: 50.11 kB / 1.096 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/2.185, allocations: 9.688 kB / 1.096 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/2.185, allocations: 365.1 kB / 1.096 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/2.185, allocations: 74.66 kB / 1.096 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/2.185, allocations: 235.2 kB / 1.096 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/2.185, allocations: 108 kB / 1.097 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/2.185, allocations: 0 / 1.097 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004935/2.186, allocations: 322.3 kB / 1.097 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/2.186, allocations: 0.9559 MB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/2.186, allocations: 3.125 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/2.186, allocations: 9.312 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/2.186, allocations: 65.98 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/2.186, allocations: 6.125 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/2.187, allocations: 55.44 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/2.187, allocations: 18.36 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.72e-06/2.187, allocations: 3.844 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004137/2.187, allocations: 239.4 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/2.187, allocations: 3.938 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/2.187, allocations: 3.844 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/2.187, allocations: 70.14 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/2.188, allocations: 7.672 kB / 1.098 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/2.188, allocations: 52.72 kB / 1.098 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/2.188, allocations: 11 kB / 1.098 GB, free: 162.6 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/2.188, allocations: 261 kB / 1.099 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/2.188, allocations: 48.08 kB / 1.099 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/2.189, allocations: 275.5 kB / 1.099 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/2.189, allocations: 3.719 kB / 1.099 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.189, allocations: 3.938 kB / 1.099 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/2.189, allocations: 0 / 1.099 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008783/2.19, allocations: 0.7664 MB / 1.1 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/2.19, allocations: 6.453 kB / 1.1 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/2.19, allocations: 31.58 kB / 1.1 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/2.19, allocations: 4.781 kB / 1.1 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/2.19, allocations: 4 kB / 1.1 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/2.19, allocations: 3.531 kB / 1.1 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.19, allocations: 6.562 kB / 1.1 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/2.19, allocations: 411.2 kB / 1.1 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/2.19, allocations: 163.9 kB / 1.1 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/2.19, allocations: 3.75 kB / 1.1 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/2.191, allocations: 30.16 kB / 1.1 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/2.191, allocations: 18.28 kB / 1.1 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/2.191, allocations: 7.969 kB / 1.1 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00036/2.191, allocations: 410.3 kB / 1.101 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/2.191, allocations: 0 / 1.101 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007875/2.192, allocations: 268.4 kB / 1.101 GB, free: 161.1 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/2.194, allocations: 1.729 MB / 1.103 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006187/2.194, allocations: 339.5 kB / 1.103 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.194, allocations: 4 kB / 1.103 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/2.194, allocations: 89.69 kB / 1.103 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/2.195, allocations: 246.8 kB / 1.103 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/2.197, allocations: 2.975 MB / 1.106 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/2.198, allocations: 0.8584 MB / 1.107 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003476/2.198, allocations: 103.7 kB / 1.107 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/2.198, allocations: 168.5 kB / 1.107 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/2.198, allocations: 0 / 1.107 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/2.227, allocations: 16.02 MB / 1.123 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/2.227, allocations: 223.8 kB / 1.123 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/4.817, allocations: 0 / 1.123 GB, free: 153.2 MB / 0.6042 GB (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/linux/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)