Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7967/0.7967, allocations: 143.3 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 173 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 447.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008943, allocations: 87.61 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 272 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004597, allocations: 14.09 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7284/0.8883, allocations: 356.7 MB / 1.122 GB, free: 13.13 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.8887, allocations: 102.2 kB / 1.122 GB, free: 13.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6498/1.538, allocations: 179 MB / 1.297 GB, free: 159.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.254e-06/1.538, allocations: 4 kB / 1.297 GB, free: 159.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.137e-05/1.539, allocations: 15.94 kB / 1.297 GB, free: 159.8 MB / 0.7136 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.001249/1.54, allocations: 0.8388 MB / 1.298 GB, free: 158.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.54, allocations: 12.03 kB / 1.298 GB, free: 158.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/1.54, allocations: 54.55 kB / 1.298 GB, free: 158.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/1.54, allocations: 55.34 kB / 1.298 GB, free: 158.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/1.541, allocations: 449.3 kB / 1.298 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.541, allocations: 20.44 kB / 1.298 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/1.541, allocations: 28 kB / 1.298 GB, free: 158.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/1.541, allocations: 207.2 kB / 1.299 GB, free: 158 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.541, allocations: 4 kB / 1.299 GB, free: 158 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/1.541, allocations: 8 kB / 1.299 GB, free: 158 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.541, allocations: 4 kB / 1.299 GB, free: 158 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/1.541, allocations: 169.6 kB / 1.299 GB, free: 157.9 MB / 0.7136 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.00132/1.543, allocations: 0.9497 MB / 1.3 GB, free: 156.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/1.543, allocations: 142.6 kB / 1.3 GB, free: 156.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/1.543, allocations: 340.5 kB / 1.3 GB, free: 156.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/1.543, allocations: 30.56 kB / 1.3 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.543, allocations: 0 / 1.3 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005176/1.544, allocations: 259.2 kB / 1.3 GB, free: 156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/1.544, allocations: 55.41 kB / 1.301 GB, free: 155.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/1.544, allocations: 417.1 kB / 1.301 GB, free: 155.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.544, allocations: 37.69 kB / 1.301 GB, free: 155.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/1.544, allocations: 232.5 kB / 1.301 GB, free: 155.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/1.544, allocations: 43.36 kB / 1.301 GB, free: 155.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/1.544, allocations: 4 kB / 1.301 GB, free: 155.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/1.544, allocations: 350.8 kB / 1.302 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.545, allocations: 67.95 kB / 1.302 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/1.545, allocations: 177.5 kB / 1.302 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/1.545, allocations: 89.14 kB / 1.302 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.545, allocations: 0 / 1.302 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005488/1.546, allocations: 266.3 kB / 1.302 GB, free: 154.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/1.546, allocations: 270.9 kB / 1.302 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.546, allocations: 3.938 kB / 1.302 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.546, allocations: 0 / 1.302 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/1.546, allocations: 55.91 kB / 1.302 GB, free: 153.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/1.546, allocations: 3.953 kB / 1.302 GB, free: 153.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/1.546, allocations: 51.73 kB / 1.303 GB, free: 153.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/1.546, allocations: 12 kB / 1.303 GB, free: 153.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/1.546, allocations: 4 kB / 1.303 GB, free: 153.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003765/1.547, allocations: 189 kB / 1.303 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/1.547, allocations: 4 kB / 1.303 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/1.547, allocations: 0 / 1.303 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/1.547, allocations: 51.84 kB / 1.303 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/1.547, allocations: 8 kB / 1.303 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/1.547, allocations: 39.81 kB / 1.303 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/1.547, allocations: 15.98 kB / 1.303 GB, free: 153.5 MB / 0.7136 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.0001621/1.548, allocations: 241 kB / 1.303 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/1.548, allocations: 47.44 kB / 1.303 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/1.548, allocations: 258.6 kB / 1.303 GB, free: 152.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.548, allocations: 7.938 kB / 1.303 GB, free: 152.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.548, allocations: 0 / 1.303 GB, free: 152.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.548, allocations: 0 / 1.303 GB, free: 152.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/1.549, allocations: 0.7161 MB / 1.304 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.549, allocations: 4 kB / 1.304 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/1.549, allocations: 35.97 kB / 1.304 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.549, allocations: 0 / 1.304 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/1.549, allocations: 4 kB / 1.304 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.549, allocations: 4 kB / 1.304 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.549, allocations: 3.938 kB / 1.304 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/1.55, allocations: 401.2 kB / 1.304 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.55, allocations: 152.4 kB / 1.305 GB, free: 151.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/1.55, allocations: 4 kB / 1.305 GB, free: 151.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/1.55, allocations: 27.97 kB / 1.305 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/1.55, allocations: 15.92 kB / 1.305 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/1.55, allocations: 8 kB / 1.305 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002642/1.55, allocations: 330.9 kB / 1.305 GB, free: 151.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.55, allocations: 0 / 1.305 GB, free: 151.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006948/1.551, allocations: 231.6 kB / 1.305 GB, free: 150.9 MB / 0.7136 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.001608/1.553, allocations: 1.686 MB / 1.307 GB, free: 149.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005622/1.553, allocations: 283.6 kB / 1.307 GB, free: 149 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.553, allocations: 0 / 1.307 GB, free: 149 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/1.553, allocations: 100.1 kB / 1.307 GB, free: 148.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009808/1.554, allocations: 211.8 kB / 1.307 GB, free: 148.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/1.556, allocations: 1.509 MB / 1.309 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/1.556, allocations: 0.835 MB / 1.31 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000285/1.556, allocations: 95.75 kB / 1.31 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/1.557, allocations: 139.4 kB / 1.31 GB, free: 146 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/1.557, allocations: 0 / 1.31 GB, free: 146 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/1.582, allocations: 13.68 MB / 1.323 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.582, allocations: 246.2 kB / 1.324 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.913, allocations: 7.812 kB / 1.324 GB, free: 132.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)