Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.00123/0.00123, allocations: 183.9 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.5357/0.5357, allocations: 91.98 MB / 108.5 MB, free: 13.04 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.536/1.536, allocations: 223.2 MB / 354.3 MB, free: 12.28 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.0008863/0.0008863, allocations: 103.2 kB / 427.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 72.3 MB / 0.5689 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.253, allocations: 349.6 MB / 0.9103 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/1.253, allocations: 98.39 kB / 0.9104 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6361/1.889, allocations: 178.9 MB / 1.085 GB, free: 172.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/1.889, allocations: 1.531 kB / 1.085 GB, free: 172.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.936e-05/1.889, allocations: 18.53 kB / 1.085 GB, free: 172.1 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001445/1.891, allocations: 0.8239 MB / 1.086 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.891, allocations: 17.19 kB / 1.086 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.178e-05/1.891, allocations: 64.52 kB / 1.086 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/1.891, allocations: 55.88 kB / 1.086 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/1.892, allocations: 429.5 kB / 1.087 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.892, allocations: 24.47 kB / 1.087 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/1.892, allocations: 29.75 kB / 1.087 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/1.892, allocations: 214.6 kB / 1.087 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.892, allocations: 0 / 1.087 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/1.892, allocations: 7.406 kB / 1.087 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.892, allocations: 3.344 kB / 1.087 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/1.893, allocations: 175.7 kB / 1.087 GB, free: 171.1 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.001442/1.894, allocations: 0.9518 MB / 1.088 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/1.894, allocations: 135.9 kB / 1.088 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/1.894, allocations: 335 kB / 1.088 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/1.895, allocations: 44.28 kB / 1.088 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/1.895, allocations: 0 / 1.088 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005571/1.895, allocations: 256.7 kB / 1.089 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.895, allocations: 55.36 kB / 1.089 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/1.896, allocations: 423.8 kB / 1.089 GB, free: 170 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/1.896, allocations: 35.89 kB / 1.089 GB, free: 170 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.896, allocations: 224.8 kB / 1.089 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/1.896, allocations: 48.17 kB / 1.089 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/1.896, allocations: 5.812 kB / 1.089 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/1.896, allocations: 355.2 kB / 1.09 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/1.896, allocations: 66.03 kB / 1.09 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/1.896, allocations: 183.7 kB / 1.09 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.896, allocations: 92.48 kB / 1.09 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.896, allocations: 3.594 kB / 1.09 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004348/1.897, allocations: 256.1 kB / 1.09 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.146e-05/1.897, allocations: 272.2 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.897, allocations: 0 / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.897, allocations: 3.344 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/1.897, allocations: 52.83 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.897, allocations: 6.688 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/1.898, allocations: 54.03 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/1.898, allocations: 10.72 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/1.898, allocations: 5.625 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000362/1.898, allocations: 183.7 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/1.898, allocations: 0 / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/1.898, allocations: 0 / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/1.898, allocations: 51.7 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/1.898, allocations: 0 / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.899, allocations: 56.59 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/1.899, allocations: 10.88 kB / 1.091 GB, free: 169.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001681/1.899, allocations: 242.1 kB / 1.091 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/1.899, allocations: 41.5 kB / 1.091 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/1.899, allocations: 263.5 kB / 1.092 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.899, allocations: 3.594 kB / 1.092 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.899, allocations: 0 / 1.092 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.899, allocations: 7.469 kB / 1.092 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008587/1.9, allocations: 0.7127 MB / 1.092 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.9, allocations: 0 / 1.092 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.9, allocations: 37.5 kB / 1.092 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.9, allocations: 3.953 kB / 1.092 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/1.9, allocations: 10.69 kB / 1.092 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.9, allocations: 3.562 kB / 1.092 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.9, allocations: 5.031 kB / 1.092 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/1.901, allocations: 406.3 kB / 1.093 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/1.901, allocations: 146.4 kB / 1.093 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/1.901, allocations: 11.73 kB / 1.093 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/1.901, allocations: 25.98 kB / 1.093 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/1.901, allocations: 23.36 kB / 1.093 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/1.901, allocations: 3.938 kB / 1.093 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002843/1.902, allocations: 328.8 kB / 1.093 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/1.902, allocations: 0 / 1.093 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007007/1.902, allocations: 227.5 kB / 1.093 GB, free: 167.9 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 (16): * Single equations (assignments): 14 * 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.001725/1.904, allocations: 1.683 MB / 1.095 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005743/1.905, allocations: 286 kB / 1.095 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.905, allocations: 0 / 1.095 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.905, allocations: 89.41 kB / 1.095 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000966/1.906, allocations: 214.6 kB / 1.096 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/1.907, allocations: 1.506 MB / 1.097 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/1.908, allocations: 0.8396 MB / 1.098 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000303/1.908, allocations: 86.61 kB / 1.098 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/1.908, allocations: 145.9 kB / 1.098 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/1.908, allocations: 0 / 1.098 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/1.932, allocations: 13.65 MB / 1.111 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001195/1.932, allocations: 219.1 kB / 1.112 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/4.4, allocations: 3.25 kB / 1.112 GB, free: 162.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)