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.259/2.259, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001103/0.001103, allocations: 188.1 kB / 492.3 MB, free: 0.6016 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.92/1.92, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009438/0.0009439, allocations: 87.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.561e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.394/1.702, allocations: 397.3 MB / 1.6 GB, free: 0.6484 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.702, allocations: 97.69 kB / 1.601 GB, free: 0.5977 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.285/2.988, allocations: 178.4 MB / 1.775 GB, free: 377.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.146e-06/2.988, allocations: 0 / 1.775 GB, free: 377.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001232/2.988, allocations: 14.59 kB / 1.775 GB, free: 377.6 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.00207/2.99, allocations: 0.75 MB / 1.776 GB, free: 377.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/2.99, allocations: 9.844 kB / 1.776 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/2.99, allocations: 59.14 kB / 1.776 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/2.99, allocations: 61.92 kB / 1.776 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/2.992, allocations: 419.7 kB / 1.776 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/2.992, allocations: 20.16 kB / 1.776 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/2.992, allocations: 31.69 kB / 1.776 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/2.992, allocations: 195.4 kB / 1.776 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/2.992, allocations: 1.156 kB / 1.776 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/2.992, allocations: 11.16 kB / 1.776 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/2.992, allocations: 9.984 kB / 1.776 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/2.993, allocations: 131.6 kB / 1.776 GB, free: 376.8 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.002317/2.995, allocations: 0.9495 MB / 1.777 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/2.995, allocations: 117.6 kB / 1.777 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/2.995, allocations: 56.69 kB / 1.778 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/2.996, allocations: 338.4 kB / 1.778 GB, free: 376 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/2.996, allocations: 39.41 kB / 1.778 GB, free: 375.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 4.859e-06/2.996, allocations: 1.031 kB / 1.778 GB, free: 375.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005621/2.996, allocations: 165.1 kB / 1.778 GB, free: 375.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/2.996, allocations: 60.95 kB / 1.778 GB, free: 375.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007077/2.997, allocations: 412.3 kB / 1.779 GB, free: 375.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/2.997, allocations: 32.11 kB / 1.779 GB, free: 375.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/2.997, allocations: 234.2 kB / 1.779 GB, free: 375.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/2.997, allocations: 50 kB / 1.779 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/2.997, allocations: 4.938 kB / 1.779 GB, free: 375.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001256/2.998, allocations: 353.8 kB / 1.779 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/2.998, allocations: 47.67 kB / 1.779 GB, free: 375.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/2.998, allocations: 155 kB / 1.779 GB, free: 375.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/2.998, allocations: 76.55 kB / 1.779 GB, free: 375.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/2.998, allocations: 4.5 kB / 1.779 GB, free: 375.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005001/2.999, allocations: 214.2 kB / 1.78 GB, free: 375.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/2.999, allocations: 275.2 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/2.999, allocations: 1.281 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/2.999, allocations: 4.75 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/2.999, allocations: 52.03 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/2.999, allocations: 2.812 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/3, allocations: 52.06 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/3, allocations: 15.22 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/3, allocations: 3.719 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003261/3, allocations: 149.3 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/3, allocations: 4.625 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/3, allocations: 2.688 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/3, allocations: 51.12 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/3, allocations: 1.156 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/3.001, allocations: 50.38 kB / 1.78 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/3.001, allocations: 11.31 kB / 1.78 GB, free: 374.8 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.0001144/3.001, allocations: 122 kB / 1.78 GB, free: 374.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/3.001, allocations: 46.09 kB / 1.78 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/3.002, allocations: 218.7 kB / 1.781 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/3.002, allocations: 6.844 kB / 1.781 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/3.002, allocations: 0 / 1.781 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/3.002, allocations: 0 / 1.781 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/3.003, allocations: 0.683 MB / 1.781 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/3.003, allocations: 3.469 kB / 1.781 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/3.003, allocations: 27.88 kB / 1.781 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/3.003, allocations: 2.344 kB / 1.781 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/3.003, allocations: 10.33 kB / 1.781 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/3.003, allocations: 7.5 kB / 1.781 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/3.003, allocations: 9.109 kB / 1.781 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/3.004, allocations: 367.6 kB / 1.782 GB, free: 374 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/3.004, allocations: 149.3 kB / 1.782 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/3.004, allocations: 2.375 kB / 1.782 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/3.004, allocations: 31.5 kB / 1.782 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/3.004, allocations: 17.62 kB / 1.782 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/3.005, allocations: 8.75 kB / 1.782 GB, free: 373.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005492/3.005, allocations: 331.4 kB / 1.782 GB, free: 373.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/3.005, allocations: 0 / 1.782 GB, free: 373.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001326/3.006, allocations: 221 kB / 1.782 GB, free: 373.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 (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.002247/3.009, allocations: 1.613 MB / 1.784 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00076/3.009, allocations: 251.3 kB / 1.784 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/3.009, allocations: 0 / 1.784 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/3.01, allocations: 75.97 kB / 1.784 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/3.011, allocations: 217.2 kB / 1.785 GB, free: 372.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/3.013, allocations: 0.6315 MB / 1.785 GB, free: 372.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/3.014, allocations: 0.8401 MB / 1.786 GB, free: 371.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000643/3.014, allocations: 130.6 kB / 1.786 GB, free: 371.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/3.014, allocations: 135.7 kB / 1.786 GB, free: 371.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/3.014, allocations: 0 / 1.786 GB, free: 371.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/3.06, allocations: 14.69 MB / 1.801 GB, free: 371.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/3.061, allocations: 205.5 kB / 1.801 GB, free: 370.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/5.727, allocations: 7.938 kB / 1.801 GB, free: 370.9 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