Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 188.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 100.9 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.949e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.468, allocations: 396.6 MB / 1.593 GB, free: 9.32 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.469, allocations: 95.5 kB / 1.593 GB, free: 9.27 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.019/2.488, allocations: 177.1 MB / 1.766 GB, free: 377.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.826e-06/2.488, allocations: 3 kB / 1.766 GB, free: 377.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.382e-05/2.488, allocations: 17.98 kB / 1.766 GB, free: 377.8 MB / 1.151 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.001329/2.489, allocations: 0.7426 MB / 1.767 GB, free: 377.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/2.489, allocations: 13 kB / 1.767 GB, free: 377.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/2.489, allocations: 58.42 kB / 1.767 GB, free: 377.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/2.49, allocations: 422.1 kB / 1.768 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/2.49, allocations: 7.672 kB / 1.768 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/2.49, allocations: 17.44 kB / 1.768 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002824/2.491, allocations: 129.4 kB / 1.768 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/2.491, allocations: 161.3 kB / 1.768 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/2.491, allocations: 2.938 kB / 1.768 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/2.491, allocations: 0.75 kB / 1.768 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/2.491, allocations: 9.797 kB / 1.768 GB, free: 377.1 MB / 1.151 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.001698/2.493, allocations: 0.8936 MB / 1.769 GB, free: 376.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/2.493, allocations: 117.3 kB / 1.769 GB, free: 376.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/2.493, allocations: 58.05 kB / 1.769 GB, free: 376.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/2.493, allocations: 341.4 kB / 1.769 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/2.493, allocations: 31.94 kB / 1.769 GB, free: 376.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/2.493, allocations: 2.875 kB / 1.769 GB, free: 376.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0004845/2.494, allocations: 159 kB / 1.77 GB, free: 376.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/2.494, allocations: 52.75 kB / 1.77 GB, free: 376.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/2.494, allocations: 364 kB / 1.77 GB, free: 376 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/2.494, allocations: 29.31 kB / 1.77 GB, free: 376 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/2.495, allocations: 235 kB / 1.77 GB, free: 375.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/2.495, allocations: 45.25 kB / 1.77 GB, free: 375.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/2.495, allocations: 1.219 kB / 1.77 GB, free: 375.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/2.495, allocations: 350.2 kB / 1.771 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/2.495, allocations: 45.78 kB / 1.771 GB, free: 375.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/2.495, allocations: 153.2 kB / 1.771 GB, free: 375.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/2.495, allocations: 74.41 kB / 1.771 GB, free: 375.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/2.495, allocations: 10.55 kB / 1.771 GB, free: 375.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004398/2.496, allocations: 219.3 kB / 1.771 GB, free: 375.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/2.496, allocations: 270.6 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/2.496, allocations: 1.125 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/2.496, allocations: 2.812 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/2.496, allocations: 53.31 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/2.496, allocations: 1.094 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/2.497, allocations: 41.16 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/2.497, allocations: 13.97 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/2.497, allocations: 4.094 kB / 1.771 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003454/2.497, allocations: 143.3 kB / 1.772 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/2.497, allocations: 1.594 kB / 1.772 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/2.497, allocations: 1.125 kB / 1.772 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/2.497, allocations: 48.94 kB / 1.772 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/2.497, allocations: 6.391 kB / 1.772 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/2.498, allocations: 37.05 kB / 1.772 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/2.498, allocations: 13.23 kB / 1.772 GB, free: 375.1 MB / 1.151 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 () * 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 8.056e-05/2.498, allocations: 111.6 kB / 1.772 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003093/2.498, allocations: 164.3 kB / 1.772 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/2.498, allocations: 42.55 kB / 1.772 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/2.499, allocations: 207.6 kB / 1.772 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/2.499, allocations: 3.312 kB / 1.772 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/2.499, allocations: 2.188 kB / 1.772 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/2.499, allocations: 1.266 kB / 1.772 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009435/2.5, allocations: 0.6268 MB / 1.773 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/2.5, allocations: 1.281 kB / 1.773 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/2.5, allocations: 38.86 kB / 1.773 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/2.5, allocations: 2.625 kB / 1.773 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/2.5, allocations: 4.984 kB / 1.773 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/2.5, allocations: 2.859 kB / 1.773 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.5, allocations: 1.375 kB / 1.773 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/2.5, allocations: 360.5 kB / 1.773 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/2.5, allocations: 145.5 kB / 1.773 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/2.5, allocations: 11.08 kB / 1.773 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/2.501, allocations: 23.73 kB / 1.773 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/2.501, allocations: 16.41 kB / 1.773 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/2.501, allocations: 5.312 kB / 1.773 GB, free: 374.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003262/2.501, allocations: 280.6 kB / 1.774 GB, free: 374.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/2.501, allocations: 0 / 1.774 GB, free: 374.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009114/2.502, allocations: 223.4 kB / 1.774 GB, free: 374.1 MB / 1.151 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 () * 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.001823/2.504, allocations: 1.594 MB / 1.775 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004977/2.504, allocations: 238.1 kB / 1.776 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/2.504, allocations: 0 / 1.776 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/2.505, allocations: 71.89 kB / 1.776 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/2.506, allocations: 188.4 kB / 1.776 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/2.507, allocations: 0.5946 MB / 1.776 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/2.507, allocations: 0.8409 MB / 1.777 GB, free: 372 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004281/2.508, allocations: 116.2 kB / 1.777 GB, free: 372 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/2.508, allocations: 136.2 kB / 1.777 GB, free: 372 MB / 1.151 GB Notification: Performance of SimCode: time 3.81e-07/2.508, allocations: 0 / 1.777 GB, free: 372 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/2.546, allocations: 12.01 MB / 1.789 GB, free: 371.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/2.546, allocations: 174.9 kB / 1.789 GB, free: 371.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/4.939, allocations: 0 / 1.789 GB, free: 371.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat does not exist to compare? outputFormat=mat