Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.298/2.298, allocations: 390.5 MB / 398 MB, free: 10.97 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.00131/0.00131, allocations: 180.3 kB / 491.2 MB, free: 1.605 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.615/1.615, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.000891, allocations: 95.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.792e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2988, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.375, allocations: 397.4 MB / 1.6 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.375, allocations: 95.08 kB / 1.601 GB, free: 0.582 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.082/2.457, allocations: 177.2 MB / 1.774 GB, free: 376.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.414e-06/2.457, allocations: 0 / 1.774 GB, free: 376.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.704e-05/2.457, allocations: 12.91 kB / 1.774 GB, free: 376.3 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.001786/2.459, allocations: 0.7469 MB / 1.774 GB, free: 375.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/2.459, allocations: 9.781 kB / 1.774 GB, free: 375.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/2.459, allocations: 55.39 kB / 1.774 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/2.46, allocations: 426.6 kB / 1.775 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/2.46, allocations: 10.84 kB / 1.775 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/2.46, allocations: 17.25 kB / 1.775 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003005/2.461, allocations: 128.9 kB / 1.775 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/2.461, allocations: 161.5 kB / 1.775 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/2.461, allocations: 3.062 kB / 1.775 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/2.461, allocations: 7.141 kB / 1.775 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/2.461, allocations: 6.062 kB / 1.775 GB, free: 375.6 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.001796/2.463, allocations: 0.8864 MB / 1.776 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/2.463, allocations: 114.7 kB / 1.776 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/2.463, allocations: 52.98 kB / 1.776 GB, free: 375.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/2.464, allocations: 337.8 kB / 1.776 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/2.464, allocations: 38.38 kB / 1.776 GB, free: 374.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/2.464, allocations: 0 / 1.776 GB, free: 374.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005257/2.464, allocations: 170.4 kB / 1.777 GB, free: 374.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/2.464, allocations: 52.44 kB / 1.777 GB, free: 374.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/2.465, allocations: 361.1 kB / 1.777 GB, free: 374.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/2.465, allocations: 26.92 kB / 1.777 GB, free: 374.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/2.465, allocations: 235.7 kB / 1.777 GB, free: 374.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/2.465, allocations: 45.84 kB / 1.777 GB, free: 374.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/2.465, allocations: 0 / 1.777 GB, free: 374.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.465, allocations: 355.1 kB / 1.778 GB, free: 374 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/2.465, allocations: 50.59 kB / 1.778 GB, free: 374 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/2.465, allocations: 155.9 kB / 1.778 GB, free: 373.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/2.466, allocations: 76.89 kB / 1.778 GB, free: 373.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/2.466, allocations: 1.219 kB / 1.778 GB, free: 373.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005024/2.466, allocations: 213.1 kB / 1.778 GB, free: 373.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/2.466, allocations: 275.8 kB / 1.778 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/2.466, allocations: 0.9688 kB / 1.778 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/2.466, allocations: 5.234 kB / 1.778 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/2.467, allocations: 46.61 kB / 1.778 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/2.467, allocations: 5.672 kB / 1.778 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/2.467, allocations: 37.7 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/2.467, allocations: 14.83 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/2.467, allocations: 6.188 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003517/2.467, allocations: 138.1 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/2.467, allocations: 1.062 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/2.468, allocations: 1.219 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/2.468, allocations: 50.44 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/2.468, allocations: 3.75 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/2.468, allocations: 46.81 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/2.468, allocations: 7.719 kB / 1.779 GB, free: 373.6 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 0.0001071/2.468, allocations: 120.6 kB / 1.779 GB, free: 373.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003547/2.469, allocations: 157 kB / 1.779 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/2.469, allocations: 41.75 kB / 1.779 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/2.469, allocations: 218.5 kB / 1.779 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/2.469, allocations: 3.969 kB / 1.779 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.469, allocations: 0 / 1.779 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/2.469, allocations: 0 / 1.779 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/2.47, allocations: 0.6276 MB / 1.78 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/2.47, allocations: 2.281 kB / 1.78 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/2.471, allocations: 32.44 kB / 1.78 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/2.471, allocations: 1.375 kB / 1.78 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/2.471, allocations: 6.281 kB / 1.78 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/2.471, allocations: 5.844 kB / 1.78 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.471, allocations: 5.234 kB / 1.78 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/2.471, allocations: 354.7 kB / 1.78 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/2.471, allocations: 147.2 kB / 1.78 GB, free: 372.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/2.471, allocations: 2.531 kB / 1.78 GB, free: 372.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/2.472, allocations: 24.22 kB / 1.78 GB, free: 372.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/2.472, allocations: 17.55 kB / 1.78 GB, free: 372.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/2.472, allocations: 8.375 kB / 1.78 GB, free: 372.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004345/2.472, allocations: 285.2 kB / 1.781 GB, free: 372.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/2.472, allocations: 0 / 1.781 GB, free: 372.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001111/2.473, allocations: 233.6 kB / 1.781 GB, free: 372.5 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.002087/2.475, allocations: 1.574 MB / 1.783 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005237/2.476, allocations: 239.5 kB / 1.783 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.476, allocations: 0 / 1.783 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/2.476, allocations: 67.45 kB / 1.783 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/2.477, allocations: 182.7 kB / 1.783 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/2.479, allocations: 0.6039 MB / 1.784 GB, free: 371.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/2.479, allocations: 0.8404 MB / 1.784 GB, free: 370.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005154/2.48, allocations: 122.2 kB / 1.785 GB, free: 370.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/2.48, allocations: 138.1 kB / 1.785 GB, free: 370.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.32e-07/2.48, allocations: 0 / 1.785 GB, free: 370.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/2.528, allocations: 12.01 MB / 1.796 GB, free: 370 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/2.528, allocations: 184.5 kB / 1.797 GB, free: 369.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/4.999, allocations: 0 / 1.797 GB, free: 369.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat does not exist to compare? outputFormat=mat