Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001109/0.00111, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.878/1.878, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.000868/0.0008681, allocations: 95.16 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.729e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7559, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.927, allocations: 399 MB / 1.363 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.928, allocations: 94.06 kB / 1.363 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3323/2.26, allocations: 173.5 MB / 1.532 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/2.26, allocations: 3.938 kB / 1.532 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.373e-05/2.26, allocations: 16 kB / 1.532 GB, free: 12.99 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001417/2.261, allocations: 0.7357 MB / 1.533 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/2.262, allocations: 8.031 kB / 1.533 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/2.262, allocations: 63.3 kB / 1.533 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/2.262, allocations: 423.7 kB / 1.534 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/2.262, allocations: 4 kB / 1.534 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/2.262, allocations: 20 kB / 1.534 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002675/2.263, allocations: 140.7 kB / 1.534 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/2.263, allocations: 162.4 kB / 1.534 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/2.263, allocations: 0 / 1.534 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/2.263, allocations: 0 / 1.534 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/2.263, allocations: 7.953 kB / 1.534 GB, free: 11.35 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.001617/2.265, allocations: 0.8832 MB / 1.535 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/2.265, allocations: 114.6 kB / 1.535 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/2.265, allocations: 53.09 kB / 1.535 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/2.265, allocations: 344.3 kB / 1.535 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/2.266, allocations: 42.56 kB / 1.535 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/2.266, allocations: 0 / 1.535 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0004542/2.266, allocations: 163.3 kB / 1.536 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/2.266, allocations: 55.41 kB / 1.536 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/2.266, allocations: 353.3 kB / 1.536 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/2.267, allocations: 25.7 kB / 1.536 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/2.267, allocations: 236.6 kB / 1.536 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/2.267, allocations: 47.3 kB / 1.536 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/2.267, allocations: 0 / 1.536 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000173/2.267, allocations: 350.8 kB / 1.537 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/2.267, allocations: 44 kB / 1.537 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/2.267, allocations: 155.1 kB / 1.537 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/2.268, allocations: 73.05 kB / 1.537 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/2.268, allocations: 0 / 1.537 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004202/2.268, allocations: 222.7 kB / 1.537 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.268, allocations: 270.9 kB / 1.537 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/2.268, allocations: 4 kB / 1.537 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/2.268, allocations: 3.984 kB / 1.537 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/2.268, allocations: 51.91 kB / 1.537 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/2.268, allocations: 3.953 kB / 1.537 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/2.269, allocations: 39.81 kB / 1.537 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/2.269, allocations: 15.98 kB / 1.537 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/2.269, allocations: 4 kB / 1.537 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003082/2.269, allocations: 133.5 kB / 1.538 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/2.269, allocations: 4 kB / 1.538 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/2.269, allocations: 0 / 1.538 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/2.269, allocations: 52.09 kB / 1.538 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/2.269, allocations: 4 kB / 1.538 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/2.27, allocations: 43.8 kB / 1.538 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/2.27, allocations: 8 kB / 1.538 GB, free: 7.344 MB / 0.8698 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.0001323/2.27, allocations: 112.9 kB / 1.538 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003203/2.27, allocations: 161.2 kB / 1.538 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/2.27, allocations: 43.52 kB / 1.538 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005035/2.271, allocations: 216.9 kB / 1.538 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/2.271, allocations: 0 / 1.538 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/2.271, allocations: 0 / 1.538 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.271, allocations: 4 kB / 1.538 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/2.272, allocations: 0.6154 MB / 1.539 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/2.272, allocations: 8 kB / 1.539 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/2.272, allocations: 35.91 kB / 1.539 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/2.272, allocations: 4 kB / 1.539 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/2.272, allocations: 4.125 kB / 1.539 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/2.272, allocations: 4 kB / 1.539 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.272, allocations: 0 / 1.539 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/2.273, allocations: 368.1 kB / 1.539 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/2.273, allocations: 132.5 kB / 1.539 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/2.273, allocations: 7.984 kB / 1.539 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/2.273, allocations: 23.89 kB / 1.539 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/2.273, allocations: 19.97 kB / 1.539 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/2.273, allocations: 4 kB / 1.539 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003399/2.273, allocations: 279 kB / 1.54 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.274, allocations: 0 / 1.54 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009313/2.274, allocations: 223.5 kB / 1.54 GB, free: 4.973 MB / 0.8698 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.002122/2.277, allocations: 1.578 MB / 1.541 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004858/2.277, allocations: 234.2 kB / 1.542 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.277, allocations: 4 kB / 1.542 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/2.277, allocations: 67.91 kB / 1.542 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/2.278, allocations: 205.9 kB / 1.542 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/2.28, allocations: 0.5988 MB / 1.542 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/2.28, allocations: 0.8351 MB / 1.543 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004229/2.281, allocations: 115.1 kB / 1.543 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/2.281, allocations: 135.4 kB / 1.543 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/2.281, allocations: 4 kB / 1.544 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/2.319, allocations: 12.07 MB / 1.555 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/2.319, allocations: 179.5 kB / 1.555 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/4.991, allocations: 0 / 1.555 GB, free: 4.992 MB / 0.8855 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)