Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.282/2.282, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001159/0.001159, allocations: 188.8 kB / 487.4 MB, free: 5.051 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.639/1.639, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.001001/0.001002, allocations: 102.3 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.047e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2516, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.363, allocations: 401.1 MB / 1.598 GB, free: 4.855 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.363, allocations: 98.23 kB / 1.598 GB, free: 4.801 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.9904/2.353, allocations: 177.5 MB / 1.771 GB, free: 372.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.042e-06/2.353, allocations: 1.25 kB / 1.771 GB, free: 372.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.695e-05/2.353, allocations: 13.91 kB / 1.771 GB, free: 372.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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001145/2.355, allocations: 0.78 MB / 1.772 GB, free: 372.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/2.355, allocations: 9.531 kB / 1.772 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/2.355, allocations: 65.36 kB / 1.772 GB, free: 372.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/2.356, allocations: 455.1 kB / 1.772 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/2.356, allocations: 8.094 kB / 1.773 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/2.356, allocations: 17.25 kB / 1.773 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002857/2.356, allocations: 142.7 kB / 1.773 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/2.356, allocations: 235.1 kB / 1.773 GB, free: 371.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/2.356, allocations: 1.469 kB / 1.773 GB, free: 371.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/2.356, allocations: 0 / 1.773 GB, free: 371.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/2.356, allocations: 9.578 kB / 1.773 GB, free: 371.9 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.001713/2.358, allocations: 1.436 MB / 1.774 GB, free: 371.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/2.358, allocations: 146.8 kB / 1.774 GB, free: 371.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/2.358, allocations: 62.09 kB / 1.774 GB, free: 371.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/2.36, allocations: 1.289 MB / 1.776 GB, free: 369.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/2.36, allocations: 42.36 kB / 1.776 GB, free: 369.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/2.36, allocations: 0 / 1.776 GB, free: 369.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0004711/2.36, allocations: 172.5 kB / 1.776 GB, free: 369.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/2.36, allocations: 58.47 kB / 1.776 GB, free: 369.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/2.361, allocations: 469.9 kB / 1.776 GB, free: 369.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/2.361, allocations: 26.7 kB / 1.776 GB, free: 369.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/2.361, allocations: 273.6 kB / 1.777 GB, free: 369.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/2.361, allocations: 52 kB / 1.777 GB, free: 369.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/2.361, allocations: 3.375 kB / 1.777 GB, free: 369.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/2.361, allocations: 353.3 kB / 1.777 GB, free: 369.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/2.361, allocations: 54.36 kB / 1.777 GB, free: 369.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/2.361, allocations: 209.3 kB / 1.777 GB, free: 369 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/2.362, allocations: 97.36 kB / 1.777 GB, free: 369 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/2.362, allocations: 3.953 kB / 1.777 GB, free: 369 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004945/2.362, allocations: 265.8 kB / 1.778 GB, free: 368.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/2.362, allocations: 0.969 MB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/2.362, allocations: 2.5 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/2.362, allocations: 4.125 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/2.363, allocations: 62.05 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/2.363, allocations: 9.188 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/2.363, allocations: 44.81 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/2.363, allocations: 15 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/2.363, allocations: 3.656 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004023/2.364, allocations: 191.9 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/2.364, allocations: 2.219 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/2.364, allocations: 4.156 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/2.364, allocations: 75.09 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/2.364, allocations: 3.75 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/2.364, allocations: 36.86 kB / 1.779 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/2.364, allocations: 11.59 kB / 1.779 GB, free: 367.9 MB / 1.151 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 () * 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 7.591e-05/2.364, allocations: 120.2 kB / 1.779 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003408/2.365, allocations: 173.4 kB / 1.779 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/2.365, allocations: 47.34 kB / 1.779 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/2.365, allocations: 238.4 kB / 1.78 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.365, allocations: 0.8125 kB / 1.78 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.365, allocations: 5.422 kB / 1.78 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/2.365, allocations: 3.188 kB / 1.78 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/2.366, allocations: 0.6797 MB / 1.78 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/2.366, allocations: 1.594 kB / 1.78 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/2.366, allocations: 39.48 kB / 1.78 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/2.366, allocations: 2 kB / 1.78 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/2.366, allocations: 6.625 kB / 1.78 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/2.366, allocations: 1.5 kB / 1.78 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.366, allocations: 1.375 kB / 1.78 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/2.367, allocations: 372.7 kB / 1.781 GB, free: 367.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/2.367, allocations: 159.3 kB / 1.781 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/2.367, allocations: 5.844 kB / 1.781 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/2.367, allocations: 15.28 kB / 1.781 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/2.367, allocations: 18.11 kB / 1.781 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/2.367, allocations: 8.5 kB / 1.781 GB, free: 367 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003713/2.368, allocations: 365.7 kB / 1.781 GB, free: 366.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/2.368, allocations: 0 / 1.781 GB, free: 366.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000918/2.369, allocations: 262.9 kB / 1.782 GB, free: 366.8 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 (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.001624/2.37, allocations: 1.621 MB / 1.783 GB, free: 365.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005189/2.371, allocations: 289.8 kB / 1.783 GB, free: 365.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.371, allocations: 0 / 1.783 GB, free: 365.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/2.371, allocations: 72.92 kB / 1.783 GB, free: 365.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/2.372, allocations: 216 kB / 1.784 GB, free: 365.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/2.373, allocations: 0.708 MB / 1.784 GB, free: 365.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/2.374, allocations: 0.8576 MB / 1.785 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005267/2.374, allocations: 176.7 kB / 1.785 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/2.374, allocations: 157.9 kB / 1.786 GB, free: 364.7 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/2.374, allocations: 0 / 1.786 GB, free: 364.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/2.413, allocations: 14.09 MB / 1.799 GB, free: 364.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/2.413, allocations: 187.4 kB / 1.799 GB, free: 364.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/4.797, allocations: 0 / 1.799 GB, free: 364.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat does not exist to compare? outputFormat=mat