Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 172.9 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008208/0.0008206, allocations: 89.31 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.97e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2233, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.599/1.822, allocations: 395.9 MB / 1.272 GB, free: 321.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.823, allocations: 98.88 kB / 1.272 GB, free: 321.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3129/2.136, allocations: 169.2 MB / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.873e-06/2.136, allocations: 0 / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.84e-05/2.136, allocations: 19.92 kB / 1.437 GB, free: 177.4 MB / 0.8698 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.001173/2.137, allocations: 0.7629 MB / 1.438 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/2.137, allocations: 12.03 kB / 1.438 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/2.137, allocations: 71.19 kB / 1.438 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/2.138, allocations: 459.5 kB / 1.439 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/2.138, allocations: 8 kB / 1.439 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/2.138, allocations: 20 kB / 1.439 GB, free: 176 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002634/2.138, allocations: 153.1 kB / 1.439 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/2.138, allocations: 223.4 kB / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/2.138, allocations: 4 kB / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/2.139, allocations: 0 / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/2.139, allocations: 11.95 kB / 1.439 GB, free: 175.6 MB / 0.8698 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.001544/2.14, allocations: 1.25 MB / 1.44 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/2.14, allocations: 163.2 kB / 1.44 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/2.14, allocations: 73.22 kB / 1.44 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/2.142, allocations: 1.331 MB / 1.442 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/2.142, allocations: 30.56 kB / 1.442 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/2.142, allocations: 0 / 1.442 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0004973/2.142, allocations: 214.3 kB / 1.442 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/2.142, allocations: 51.41 kB / 1.442 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/2.143, allocations: 461.2 kB / 1.442 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/2.143, allocations: 29.7 kB / 1.442 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/2.143, allocations: 264.3 kB / 1.443 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/2.143, allocations: 63.11 kB / 1.443 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/2.143, allocations: 0 / 1.443 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/2.143, allocations: 354.8 kB / 1.443 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/2.143, allocations: 59.98 kB / 1.443 GB, free: 171 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/2.143, allocations: 198.4 kB / 1.443 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/2.144, allocations: 117.1 kB / 1.443 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.144, allocations: 7.938 kB / 1.443 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004717/2.144, allocations: 287.4 kB / 1.444 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.144, allocations: 0.794 MB / 1.444 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/2.144, allocations: 4 kB / 1.444 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/2.144, allocations: 4 kB / 1.445 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/2.145, allocations: 67.91 kB / 1.445 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/2.145, allocations: 4 kB / 1.445 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/2.145, allocations: 47.66 kB / 1.445 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/2.145, allocations: 15.98 kB / 1.445 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/2.145, allocations: 4 kB / 1.445 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000399/2.145, allocations: 207.6 kB / 1.445 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/2.145, allocations: 4.188 kB / 1.445 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/2.145, allocations: 7.953 kB / 1.445 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/2.146, allocations: 67.89 kB / 1.445 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-06/2.146, allocations: 4 kB / 1.445 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/2.146, allocations: 39.81 kB / 1.445 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/2.146, allocations: 16 kB / 1.445 GB, free: 169 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.225e-05/2.146, allocations: 108.9 kB / 1.445 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003565/2.146, allocations: 202.5 kB / 1.445 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/2.146, allocations: 51.39 kB / 1.445 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/2.147, allocations: 273.7 kB / 1.446 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.147, allocations: 4 kB / 1.446 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/2.147, allocations: 4 kB / 1.446 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/2.147, allocations: 0 / 1.446 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/2.148, allocations: 0.7205 MB / 1.446 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/2.148, allocations: 0 / 1.446 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/2.148, allocations: 35.98 kB / 1.446 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/2.148, allocations: 4.125 kB / 1.446 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/2.148, allocations: 7.984 kB / 1.446 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/2.148, allocations: 11.92 kB / 1.446 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.148, allocations: 0 / 1.446 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/2.149, allocations: 474.2 kB / 1.447 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/2.149, allocations: 160.6 kB / 1.447 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/2.149, allocations: 4 kB / 1.447 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/2.149, allocations: 19.98 kB / 1.447 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/2.149, allocations: 23.91 kB / 1.447 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/2.149, allocations: 15.94 kB / 1.447 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003201/2.149, allocations: 350.9 kB / 1.447 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.149, allocations: 0 / 1.447 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008627/2.15, allocations: 275.4 kB / 1.448 GB, free: 166.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.001715/2.152, allocations: 1.738 MB / 1.449 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004628/2.153, allocations: 308.6 kB / 1.45 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/2.153, allocations: 128 / 1.45 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/2.153, allocations: 87.86 kB / 1.45 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/2.154, allocations: 223.7 kB / 1.45 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/2.155, allocations: 0.7784 MB / 1.451 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/2.155, allocations: 0.8629 MB / 1.451 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004713/2.156, allocations: 176 kB / 1.452 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/2.156, allocations: 155.4 kB / 1.452 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/2.156, allocations: 0 / 1.452 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/2.19, allocations: 14.34 MB / 1.466 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/2.19, allocations: 190.4 kB / 1.466 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/4.523, allocations: 0 / 1.466 GB, free: 147.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)