Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008454/0.0008456, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00524/0.00524, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.607/1.607, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005293, allocations: 12 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4947, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01831/0.5131, allocations: 18.99 MB / 0.7473 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.5265, allocations: 8.41 MB / 0.7555 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.5279, allocations: 23.75 kB / 0.7555 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.5289, allocations: 218.7 kB / 0.7557 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.5316, allocations: 0.6957 MB / 0.7564 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.534, allocations: 0.7845 MB / 0.7572 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002587/0.5366, allocations: 1.931 MB / 0.759 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008541/0.5374, allocations: 428.8 kB / 0.7595 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.5393, allocations: 0.5561 MB / 0.76 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.5406, allocations: 0.5056 MB / 0.7605 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.5409, allocations: 31.94 kB / 0.7605 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.5427, allocations: 0.6549 MB / 0.7612 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.5429, allocations: 143.3 kB / 0.7613 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.5435, allocations: 363.7 kB / 0.7616 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.5452, allocations: 1.032 MB / 0.7627 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5452, allocations: 4 kB / 0.7627 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5453, allocations: 0 / 0.7627 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.131e-05/0.5453, allocations: 0 / 0.7627 GB, free: 8.395 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002034/0.5473, allocations: 0.9774 MB / 0.7636 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5474, allocations: 12.03 kB / 0.7636 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.5477, allocations: 84 kB / 0.7637 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.5486, allocations: 0.5065 MB / 0.7642 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.5486, allocations: 37 kB / 0.7642 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.5487, allocations: 55.98 kB / 0.7643 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5498, allocations: 0.6333 MB / 0.7649 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5498, allocations: 7.938 kB / 0.7649 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.5499, allocations: 20 kB / 0.7649 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5499, allocations: 12 kB / 0.7649 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.551, allocations: 0.5151 MB / 0.7654 GB, free: 5.379 MB / 0.5762 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.003328/0.5543, allocations: 3.201 MB / 0.7686 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.555, allocations: 365.3 kB / 0.7689 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.5555, allocations: 242.2 kB / 0.7692 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003798/0.5559, allocations: 348.4 kB / 0.7695 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.556, allocations: 34.56 kB / 0.7695 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.304e-06/0.556, allocations: 0 / 0.7695 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.002139/0.5581, allocations: 0.8689 MB / 0.7704 GB, free: 28 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.5582, allocations: 59.41 kB / 0.7704 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.5588, allocations: 0.5821 MB / 0.771 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.5589, allocations: 33.7 kB / 0.771 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.5591, allocations: 324.5 kB / 0.7713 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.5592, allocations: 138 kB / 0.7715 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.5593, allocations: 57.69 kB / 0.7715 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.5594, allocations: 374.7 kB / 0.7719 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.5599, allocations: 225.2 kB / 0.7721 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/0.5606, allocations: 388 kB / 0.7725 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.5616, allocations: 0.59 MB / 0.773 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5616, allocations: 4 kB / 0.773 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001466/0.5631, allocations: 0.7501 MB / 0.7738 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.5633, allocations: 223 kB / 0.774 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.5633, allocations: 7.938 kB / 0.774 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.5639, allocations: 156.8 kB / 0.7741 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.5645, allocations: 147.8 kB / 0.7743 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005746/0.5651, allocations: 0.6225 MB / 0.7749 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.5657, allocations: 107.3 kB / 0.775 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.5658, allocations: 31.98 kB / 0.775 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.5658, allocations: 4 kB / 0.775 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/0.567, allocations: 0.6228 MB / 0.7756 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.567, allocations: 8 kB / 0.7756 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5671, allocations: 4.562 kB / 0.7756 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.5676, allocations: 167.7 kB / 0.7758 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5677, allocations: 11.94 kB / 0.7758 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.5682, allocations: 95.59 kB / 0.7759 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.5683, allocations: 35.92 kB / 0.7759 GB, free: 10.04 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.5686, allocations: 264.9 kB / 0.7762 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.5687, allocations: 59.25 kB / 0.7763 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.5702, allocations: 0.6696 MB / 0.7769 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5702, allocations: 4 kB / 0.7769 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5702, allocations: 7.938 kB / 0.7769 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5702, allocations: 7.922 kB / 0.7769 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.5726, allocations: 1.389 MB / 0.7783 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.5726, allocations: 4.094 kB / 0.7783 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.573, allocations: 87.89 kB / 0.7784 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.5734, allocations: 132.8 kB / 0.7785 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.5735, allocations: 11.98 kB / 0.7785 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006039/0.5741, allocations: 0.6459 MB / 0.7791 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5741, allocations: 0 / 0.7791 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.5754, allocations: 0.7242 MB / 0.7798 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.5757, allocations: 204 kB / 0.78 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.5758, allocations: 12 kB / 0.7801 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.5762, allocations: 51.89 kB / 0.7801 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.5763, allocations: 31.95 kB / 0.7801 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.5763, allocations: 19.98 kB / 0.7802 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004404/0.5768, allocations: 399.1 kB / 0.7805 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5768, allocations: 0 / 0.7805 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001148/0.578, allocations: 383.4 kB / 0.7809 GB, free: 4.793 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00074/0.5787, allocations: 315 kB / 0.7812 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.5807, allocations: 0.9017 MB / 0.7821 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5808, allocations: 0 / 0.7821 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.5815, allocations: 296.2 kB / 0.7824 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.5832, allocations: 274.8 kB / 0.7826 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.5853, allocations: 1.327 MB / 0.7839 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.5858, allocations: 0.9154 MB / 0.7848 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006491/0.5864, allocations: 153.3 kB / 0.785 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.5866, allocations: 63.41 kB / 0.785 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/0.5866, allocations: 3.938 kB / 0.785 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of Templates: time 0.02132/0.6079, allocations: 12.28 MB / 0.797 GB, free: 4.406 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: