Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 289.7 MB / 302.2 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 181.2 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 92.31 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.543e-05/4.545e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3115, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.536, allocations: 404.2 MB / 1.375 GB, free: 8.715 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.536, allocations: 98.56 kB / 1.375 GB, free: 8.664 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.081/2.617, allocations: 174.9 MB / 1.545 GB, free: 224.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.532e-06/2.617, allocations: 0 / 1.545 GB, free: 224.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.237e-05/2.618, allocations: 15.98 kB / 1.545 GB, free: 224 MB / 0.948 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.001515/2.619, allocations: 0.7799 MB / 1.546 GB, free: 223.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/2.619, allocations: 8.031 kB / 1.546 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.369e-05/2.619, allocations: 58.55 kB / 1.546 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/2.619, allocations: 71.23 kB / 1.546 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/2.62, allocations: 452.7 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/2.62, allocations: 24.56 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/2.62, allocations: 28 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/2.621, allocations: 262.3 kB / 1.547 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/2.621, allocations: 3.938 kB / 1.547 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/2.621, allocations: 15.94 kB / 1.547 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/2.621, allocations: 8 kB / 1.547 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/2.621, allocations: 158.1 kB / 1.547 GB, free: 222.1 MB / 0.948 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.001943/2.623, allocations: 1.512 MB / 1.549 GB, free: 220.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/2.623, allocations: 138.7 kB / 1.549 GB, free: 220.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.722e-05/2.623, allocations: 76.92 kB / 1.549 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/2.625, allocations: 1.304 MB / 1.55 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/2.625, allocations: 34.56 kB / 1.55 GB, free: 218.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/2.625, allocations: 4 kB / 1.55 GB, free: 218.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0003468/2.625, allocations: 181.1 kB / 1.55 GB, free: 218.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/2.625, allocations: 51.41 kB / 1.55 GB, free: 218.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/2.626, allocations: 0.5045 MB / 1.551 GB, free: 218 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/2.626, allocations: 37.69 kB / 1.551 GB, free: 217.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/2.626, allocations: 271.9 kB / 1.551 GB, free: 217.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/2.626, allocations: 55.2 kB / 1.551 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/2.626, allocations: 4 kB / 1.551 GB, free: 217.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/2.626, allocations: 362.8 kB / 1.552 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/2.626, allocations: 52.56 kB / 1.552 GB, free: 217.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/2.626, allocations: 213.3 kB / 1.552 GB, free: 216.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/2.627, allocations: 94.55 kB / 1.552 GB, free: 216.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.627, allocations: 0 / 1.552 GB, free: 216.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003895/2.627, allocations: 276.8 kB / 1.552 GB, free: 216.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/2.627, allocations: 0.9687 MB / 1.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/2.627, allocations: 8 kB / 1.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/2.627, allocations: 4 kB / 1.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/2.628, allocations: 63.84 kB / 1.553 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/2.628, allocations: 7.984 kB / 1.553 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/2.628, allocations: 47.67 kB / 1.553 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/2.628, allocations: 23.98 kB / 1.553 GB, free: 215.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/2.628, allocations: 4 kB / 1.553 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003055/2.628, allocations: 205.9 kB / 1.554 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/2.628, allocations: 7.938 kB / 1.554 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/2.628, allocations: 4 kB / 1.554 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/2.629, allocations: 60.16 kB / 1.554 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/2.629, allocations: 8 kB / 1.554 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/2.629, allocations: 47.72 kB / 1.554 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/2.629, allocations: 15.98 kB / 1.554 GB, free: 215 MB / 0.948 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 9.747e-05/2.629, allocations: 126.5 kB / 1.554 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/2.629, allocations: 51.44 kB / 1.554 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/2.63, allocations: 241.5 kB / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/2.63, allocations: 4 kB / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/2.63, allocations: 0 / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/2.63, allocations: 0 / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008372/2.63, allocations: 0.7278 MB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/2.63, allocations: 4 kB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/2.631, allocations: 31.92 kB / 1.555 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/2.631, allocations: 4 kB / 1.555 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/2.631, allocations: 4 kB / 1.555 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/2.631, allocations: 0 / 1.555 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/2.631, allocations: 4 kB / 1.555 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/2.631, allocations: 379.6 kB / 1.555 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/2.631, allocations: 164.3 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/2.631, allocations: 4 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/2.631, allocations: 19.98 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/2.631, allocations: 19.92 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/2.631, allocations: 8 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004012/2.632, allocations: 405.5 kB / 1.556 GB, free: 212.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/2.632, allocations: 0 / 1.556 GB, free: 212.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008355/2.633, allocations: 271.7 kB / 1.556 GB, free: 212.4 MB / 0.948 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.001595/2.634, allocations: 1.653 MB / 1.558 GB, free: 210.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004685/2.635, allocations: 302.5 kB / 1.558 GB, free: 210.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.635, allocations: 0 / 1.558 GB, free: 210.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.993e-05/2.635, allocations: 76.86 kB / 1.558 GB, free: 210.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/2.636, allocations: 250.4 kB / 1.558 GB, free: 210.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/2.637, allocations: 0.7285 MB / 1.559 GB, free: 209.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/2.638, allocations: 0.8558 MB / 1.56 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004757/2.638, allocations: 184.1 kB / 1.56 GB, free: 208.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/2.638, allocations: 155.4 kB / 1.56 GB, free: 208.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/2.638, allocations: 0 / 1.56 GB, free: 208.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/2.667, allocations: 17.16 MB / 1.577 GB, free: 191.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/2.667, allocations: 202.1 kB / 1.577 GB, free: 190.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/5.153, allocations: 4.062 kB / 1.577 GB, free: 190.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)