Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 186.6 kB / 327.6 MB, free: 2.141 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.514/1.514, allocations: 205.4 MB / 0.5785 GB, free: 20.44 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.0008252/0.0008253, allocations: 76.56 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 14.12 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.185, allocations: 106.3 MB / 0.9012 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.801/0.9861, allocations: 391.3 MB / 1.283 GB, free: 8 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.9864, allocations: 97.19 kB / 1.283 GB, free: 7.945 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.8506/1.837, allocations: 169.7 MB / 1.449 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.926e-06/1.837, allocations: 0 / 1.449 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.039e-05/1.837, allocations: 18.89 kB / 1.449 GB, free: 287.9 MB / 0.8855 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.001613/1.839, allocations: 0.8166 MB / 1.45 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.839, allocations: 7.594 kB / 1.45 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/1.839, allocations: 61.5 kB / 1.45 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/1.84, allocations: 440.9 kB / 1.45 GB, free: 287 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/1.84, allocations: 21.59 kB / 1.45 GB, free: 287 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/1.84, allocations: 27.84 kB / 1.45 GB, free: 287 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/1.84, allocations: 218.3 kB / 1.451 GB, free: 287 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.84, allocations: 0 / 1.451 GB, free: 287 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/1.84, allocations: 11.59 kB / 1.451 GB, free: 287 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.84, allocations: 6.344 kB / 1.451 GB, free: 287 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/1.841, allocations: 170.2 kB / 1.451 GB, free: 287 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001594/1.842, allocations: 0.9526 MB / 1.452 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/1.843, allocations: 136.6 kB / 1.452 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/1.843, allocations: 71.86 kB / 1.452 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/1.843, allocations: 342.5 kB / 1.452 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.843, allocations: 40.91 kB / 1.452 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.764e-06/1.843, allocations: 0 / 1.452 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0005661/1.844, allocations: 248.6 kB / 1.453 GB, free: 286 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.844, allocations: 58.92 kB / 1.453 GB, free: 286 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/1.844, allocations: 462.8 kB / 1.453 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/1.844, allocations: 32.52 kB / 1.453 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/1.844, allocations: 236.2 kB / 1.453 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/1.844, allocations: 46.08 kB / 1.453 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.844, allocations: 6.156 kB / 1.453 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/1.844, allocations: 355.5 kB / 1.454 GB, free: 285.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/1.845, allocations: 69.52 kB / 1.454 GB, free: 285.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/1.845, allocations: 181 kB / 1.454 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/1.845, allocations: 165.5 kB / 1.454 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.845, allocations: 0 / 1.454 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004346/1.846, allocations: 270.4 kB / 1.454 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/1.846, allocations: 102.4 kB / 1.454 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.846, allocations: 3.875 kB / 1.454 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.846, allocations: 2.812 kB / 1.454 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.846, allocations: 50.5 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.846, allocations: 3.938 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/1.846, allocations: 46.61 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/1.846, allocations: 11.5 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.363e-06/1.846, allocations: 3.812 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000343/1.847, allocations: 187.9 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/1.847, allocations: 0 / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/1.847, allocations: 10.16 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/1.847, allocations: 46.59 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/1.847, allocations: 7.625 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/1.847, allocations: 45.14 kB / 1.455 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/1.847, allocations: 16.75 kB / 1.455 GB, free: 285 MB / 0.8855 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 () * Number of clocked 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.0001735/1.847, allocations: 239.1 kB / 1.455 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/1.847, allocations: 43.28 kB / 1.455 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/1.848, allocations: 260.1 kB / 1.455 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/1.848, allocations: 10.22 kB / 1.455 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.848, allocations: 0 / 1.455 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.848, allocations: 0 / 1.455 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/1.849, allocations: 0.7129 MB / 1.456 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.849, allocations: 3.656 kB / 1.456 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/1.849, allocations: 32.25 kB / 1.456 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.849, allocations: 3.219 kB / 1.456 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/1.849, allocations: 7.062 kB / 1.456 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.849, allocations: 0 / 1.456 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.849, allocations: 0 / 1.456 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/1.849, allocations: 359 kB / 1.457 GB, free: 284.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/1.85, allocations: 147.8 kB / 1.457 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/1.85, allocations: 7.609 kB / 1.457 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/1.85, allocations: 29.52 kB / 1.457 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/1.85, allocations: 10.72 kB / 1.457 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/1.85, allocations: 7.062 kB / 1.457 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003633/1.85, allocations: 329.4 kB / 1.457 GB, free: 284 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/1.85, allocations: 0 / 1.457 GB, free: 284 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007305/1.851, allocations: 226.5 kB / 1.457 GB, free: 283.9 MB / 0.8855 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 () * Number of clocked 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.001286/1.852, allocations: 0.5744 MB / 1.458 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006147/1.853, allocations: 289.9 kB / 1.458 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.853, allocations: 0 / 1.458 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/1.853, allocations: 95.83 kB / 1.458 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.854, allocations: 222.5 kB / 1.458 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.856, allocations: 0.8252 MB / 1.459 GB, free: 283.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/1.856, allocations: 0.83 MB / 1.46 GB, free: 282.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003229/1.856, allocations: 86.66 kB / 1.46 GB, free: 282.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/1.856, allocations: 44.28 kB / 1.46 GB, free: 282.6 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/1.856, allocations: 0 / 1.46 GB, free: 282.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.01792/1.874, allocations: 9.449 MB / 1.469 GB, free: 281.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)