Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7295/0.7295, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 175 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 89.78 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.448e-05, allocations: 2.656 kB / 0.5467 GB, free: 95.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6352/0.7649, allocations: 362.9 MB / 0.9761 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.7652, allocations: 98.12 kB / 0.9762 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6044/1.37, allocations: 169.8 MB / 1.142 GB, free: 119 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.462e-06/1.37, allocations: 0 / 1.142 GB, free: 119 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.448e-05/1.37, allocations: 15.98 kB / 1.142 GB, free: 119 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001099/1.371, allocations: 0.7709 MB / 1.143 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.371, allocations: 11.97 kB / 1.143 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/1.371, allocations: 59.34 kB / 1.143 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/1.372, allocations: 451.6 kB / 1.143 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.372, allocations: 8 kB / 1.143 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/1.372, allocations: 27.91 kB / 1.143 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000244/1.372, allocations: 149.1 kB / 1.143 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/1.372, allocations: 223.4 kB / 1.144 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.372, allocations: 4 kB / 1.144 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/1.372, allocations: 0 / 1.144 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.372, allocations: 7.938 kB / 1.144 GB, free: 117.2 MB / 0.6511 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.001803/1.374, allocations: 1.852 MB / 1.145 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/1.374, allocations: 106.7 kB / 1.146 GB, free: 115 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/1.374, allocations: 28.86 kB / 1.146 GB, free: 115 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008666/1.375, allocations: 0.6671 MB / 1.146 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/1.375, allocations: 34.56 kB / 1.146 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/1.375, allocations: 0 / 1.146 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0005521/1.376, allocations: 173.1 kB / 1.146 GB, free: 114 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.527e-05/1.376, allocations: 59.34 kB / 1.146 GB, free: 114 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/1.376, allocations: 481.1 kB / 1.147 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/1.376, allocations: 29.7 kB / 1.147 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/1.377, allocations: 271.6 kB / 1.147 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/1.377, allocations: 39.45 kB / 1.147 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/1.377, allocations: 0 / 1.147 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/1.377, allocations: 366.7 kB / 1.148 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/1.377, allocations: 52 kB / 1.148 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/1.377, allocations: 199.6 kB / 1.148 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/1.377, allocations: 99.25 kB / 1.148 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.377, allocations: 0 / 1.148 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000442/1.378, allocations: 275.1 kB / 1.148 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/1.378, allocations: 0.8732 MB / 1.149 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.378, allocations: 0 / 1.149 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.378, allocations: 4 kB / 1.149 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/1.378, allocations: 75.89 kB / 1.149 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.378, allocations: 4 kB / 1.149 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/1.378, allocations: 63.58 kB / 1.149 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/1.378, allocations: 12 kB / 1.149 GB, free: 111 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/1.379, allocations: 8 kB / 1.149 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000404/1.379, allocations: 178.7 kB / 1.149 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.379, allocations: 4 kB / 1.149 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/1.379, allocations: 4 kB / 1.149 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/1.379, allocations: 63.84 kB / 1.149 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/1.379, allocations: 4.281 kB / 1.149 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/1.379, allocations: 43.7 kB / 1.149 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/1.379, allocations: 20.14 kB / 1.149 GB, free: 110.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 6.959e-05/1.38, allocations: 108.9 kB / 1.15 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002235/1.38, allocations: 145.1 kB / 1.15 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/1.38, allocations: 43.44 kB / 1.15 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/1.38, allocations: 165.4 kB / 1.15 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.38, allocations: 0 / 1.15 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.38, allocations: 3.953 kB / 1.15 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.38, allocations: 4 kB / 1.15 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/1.38, allocations: 333.8 kB / 1.15 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.38, allocations: 4 kB / 1.15 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/1.381, allocations: 27.98 kB / 1.15 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/1.381, allocations: 4 kB / 1.15 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.381, allocations: 3.984 kB / 1.15 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.381, allocations: 0 / 1.15 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.381, allocations: 0 / 1.15 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/1.381, allocations: 282.9 kB / 1.151 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/1.381, allocations: 136.5 kB / 1.151 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/1.381, allocations: 0 / 1.151 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.381, allocations: 28.03 kB / 1.151 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/1.381, allocations: 11.98 kB / 1.151 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/1.382, allocations: 4 kB / 1.151 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003069/1.382, allocations: 362.9 kB / 1.151 GB, free: 109 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.382, allocations: 0 / 1.151 GB, free: 109 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007932/1.383, allocations: 259.5 kB / 1.151 GB, free: 108.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001417/1.384, allocations: 1.282 MB / 1.153 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003863/1.384, allocations: 255.3 kB / 1.153 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.384, allocations: 0 / 1.153 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/1.385, allocations: 40.11 kB / 1.153 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.386, allocations: 213.5 kB / 1.153 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/1.39, allocations: 0.9682 MB / 1.154 GB, free: 106 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/1.39, allocations: 0.8394 MB / 1.155 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005131/1.39, allocations: 163.2 kB / 1.155 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.391, allocations: 151.4 kB / 1.155 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.391, allocations: 3.938 kB / 1.155 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/1.425, allocations: 14.05 MB / 1.169 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/1.425, allocations: 191.7 kB / 1.169 GB, free: 90.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.68, allocations: 3.938 kB / 1.169 GB, free: 90.66 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)