Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000915/0.0009149, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007926/0.007926, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.672/1.672, 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.519/1.519, allocations: 252 MB / 0.5105 GB, free: 4.672 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.0005368/0.0005368, allocations: 20.38 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4715, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03007/0.5016, allocations: 25.78 MB / 0.7539 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.5203, allocations: 10.72 MB / 0.7644 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.5219, allocations: 31.69 kB / 0.7644 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5233, allocations: 294.2 kB / 0.7647 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.5271, allocations: 1.068 MB / 0.7657 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.5299, allocations: 0.9295 MB / 0.7666 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003734/0.5336, allocations: 3.215 MB / 0.7698 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.535, allocations: 0.8218 MB / 0.7706 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.5371, allocations: 1.047 MB / 0.7716 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.5388, allocations: 1.02 MB / 0.7726 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.5391, allocations: 40 kB / 0.7726 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.5409, allocations: 0.8929 MB / 0.7735 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.5412, allocations: 215.1 kB / 0.7737 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.5418, allocations: 0.5225 MB / 0.7742 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.5438, allocations: 1.546 MB / 0.7757 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5438, allocations: 0 / 0.7757 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5438, allocations: 4 kB / 0.7757 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.5438, allocations: 0 / 0.7757 GB, free: 10.98 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001854/0.5457, allocations: 1.153 MB / 0.7769 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5457, allocations: 12.03 kB / 0.7769 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.546, allocations: 115.6 kB / 0.777 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/0.5469, allocations: 0.6584 MB / 0.7776 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.547, allocations: 57 kB / 0.7777 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.5472, allocations: 83.94 kB / 0.7778 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/0.5482, allocations: 0.5647 MB / 0.7783 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5482, allocations: 8 kB / 0.7783 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.5482, allocations: 16 kB / 0.7783 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.5483, allocations: 12 kB / 0.7783 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.5491, allocations: 423.6 kB / 0.7787 GB, free: 7.77 MB / 0.5919 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.004395/0.5535, allocations: 2.544 MB / 0.7812 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.5541, allocations: 269.2 kB / 0.7815 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.5544, allocations: 145.5 kB / 0.7816 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.5548, allocations: 340.4 kB / 0.7819 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.5548, allocations: 34.56 kB / 0.782 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=29): time 3.246e-06/0.5548, allocations: 0 / 0.782 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29): time 0.001319/0.5561, allocations: 486.9 kB / 0.7824 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.5562, allocations: 59.34 kB / 0.7825 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/0.5571, allocations: 0.7592 MB / 0.7832 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.5572, allocations: 41.7 kB / 0.7833 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.5576, allocations: 436.9 kB / 0.7837 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.5577, allocations: 98.55 kB / 0.7838 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.5578, allocations: 57.69 kB / 0.7838 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5579, allocations: 329.9 kB / 0.7842 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.5583, allocations: 165 kB / 0.7843 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.5593, allocations: 0.7868 MB / 0.7851 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.5601, allocations: 407.7 kB / 0.7855 GB, free: 376 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5601, allocations: 3.938 kB / 0.7855 GB, free: 372 kB / 0.5919 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001202/0.5613, allocations: 0.5771 MB / 0.786 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.5615, allocations: 154.9 kB / 0.7862 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5615, allocations: 224 / 0.7862 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.5615, allocations: 4 kB / 0.7862 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.5627, allocations: 207.6 kB / 0.7864 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.5643, allocations: 2.368 MB / 0.7887 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.5673, allocations: 0.6827 MB / 0.7894 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.5673, allocations: 27.98 kB / 0.7894 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5674, allocations: 5.875 kB / 0.7894 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009282/0.5683, allocations: 454 kB / 0.7898 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5683, allocations: 4 kB / 0.7898 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.5683, allocations: 7.938 kB / 0.7898 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.5689, allocations: 140 kB / 0.79 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5689, allocations: 11.94 kB / 0.79 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.5717, allocations: 0.6711 MB / 0.7906 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.5717, allocations: 23.98 kB / 0.7907 GB, free: 10.91 MB / 0.6075 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004899/0.5722, allocations: 297.6 kB / 0.791 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.5724, allocations: 78.97 kB / 0.791 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009488/0.5733, allocations: 481.4 kB / 0.7915 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.5734, allocations: 8 kB / 0.7915 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5734, allocations: 0 / 0.7915 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5734, allocations: 8 kB / 0.7915 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.5752, allocations: 1.135 MB / 0.7926 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5752, allocations: 4 kB / 0.7926 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.5757, allocations: 103.8 kB / 0.7927 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.5757, allocations: 0 / 0.7927 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.5757, allocations: 15.98 kB / 0.7927 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.5769, allocations: 2.36 MB / 0.795 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5769, allocations: 0 / 0.795 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/0.5778, allocations: 0.5442 MB / 0.7956 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.5781, allocations: 199.9 kB / 0.7958 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.5782, allocations: 11.94 kB / 0.7958 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.5787, allocations: 47.95 kB / 0.7958 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.5788, allocations: 27.95 kB / 0.7958 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.5788, allocations: 16 kB / 0.7959 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007074/0.5795, allocations: 0.5107 MB / 0.7964 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5795, allocations: 0 / 0.7964 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001448/0.581, allocations: 459.2 kB / 0.7968 GB, free: 4.414 MB / 0.6075 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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006977/0.5817, allocations: 324.1 kB / 0.7971 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.5839, allocations: 0.7244 MB / 0.7978 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5839, allocations: 4 kB / 0.7978 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.5844, allocations: 212.3 kB / 0.798 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.5868, allocations: 428.8 kB / 0.7984 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.5892, allocations: 1.581 MB / 0.8 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.5898, allocations: 0.9657 MB / 0.8009 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009186/0.5907, allocations: 178 kB / 0.8011 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5909, allocations: 71.34 kB / 0.8012 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.5909, allocations: 0 / 0.8012 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.0335/0.6244, allocations: 20.07 MB / 0.8208 GB, free: 12.12 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: