Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 105 kB / 16.36 MB, free: 6.309 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.001312/0.001312, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.636/1.636, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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.002069/0.002069, allocations: 71.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2945, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.5657/0.8602, allocations: 23.53 MB / 0.8078 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.8764, allocations: 9.586 MB / 0.8171 GB, free: 29.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.8785, allocations: 36.59 kB / 0.8172 GB, free: 29.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.8798, allocations: 392.2 kB / 0.8175 GB, free: 29.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003939/0.8838, allocations: 1.106 MB / 0.8186 GB, free: 28.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.8873, allocations: 1.078 MB / 0.8197 GB, free: 28.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003971/0.8913, allocations: 1.994 MB / 0.8216 GB, free: 27.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.8929, allocations: 0.7514 MB / 0.8224 GB, free: 26.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.8957, allocations: 0.8137 MB / 0.8232 GB, free: 26.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.8976, allocations: 0.7061 MB / 0.8238 GB, free: 26.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.8978, allocations: 72.47 kB / 0.8239 GB, free: 26.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.9005, allocations: 0.9958 MB / 0.8249 GB, free: 25.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.9009, allocations: 223.5 kB / 0.8251 GB, free: 25.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000841/0.9017, allocations: 498 kB / 0.8256 GB, free: 25.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.9051, allocations: 1.493 MB / 0.827 GB, free: 24.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9052, allocations: 0 / 0.827 GB, free: 24.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9052, allocations: 1.953 kB / 0.827 GB, free: 24.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.049e-05/0.9052, allocations: 0 / 0.827 GB, free: 24.92 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002766/0.908, allocations: 1.399 MB / 0.8284 GB, free: 23.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.908, allocations: 8.594 kB / 0.8284 GB, free: 23.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.9083, allocations: 121.4 kB / 0.8285 GB, free: 23.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.9096, allocations: 0.6909 MB / 0.8292 GB, free: 23.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/0.9097, allocations: 48 kB / 0.8292 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.9098, allocations: 62.34 kB / 0.8293 GB, free: 23.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.9109, allocations: 0.6652 MB / 0.83 GB, free: 23.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.9109, allocations: 1.812 kB / 0.83 GB, free: 23.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.911, allocations: 21.59 kB / 0.83 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.911, allocations: 13.91 kB / 0.83 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.9119, allocations: 454.7 kB / 0.8304 GB, free: 22.91 MB / 0.6544 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.003612/0.9155, allocations: 2.53 MB / 0.8329 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.9162, allocations: 365.7 kB / 0.8332 GB, free: 21.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.9166, allocations: 184.8 kB / 0.8334 GB, free: 20.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.9168, allocations: 338.6 kB / 0.8337 GB, free: 20.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006048/0.9174, allocations: 321.6 kB / 0.834 GB, free: 20.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 2.976e-06/0.9174, allocations: 112 / 0.834 GB, free: 20.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001574/0.919, allocations: 0.6992 MB / 0.8347 GB, free: 20.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.9191, allocations: 239.2 kB / 0.835 GB, free: 19.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.9203, allocations: 0.8317 MB / 0.8358 GB, free: 19.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.9204, allocations: 43.39 kB / 0.8358 GB, free: 19.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.9207, allocations: 433.6 kB / 0.8362 GB, free: 19.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.9208, allocations: 117 kB / 0.8363 GB, free: 19.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.9211, allocations: 133.1 kB / 0.8365 GB, free: 18.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.9211, allocations: 325.7 kB / 0.8368 GB, free: 18.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.9216, allocations: 214 kB / 0.837 GB, free: 18.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.9221, allocations: 369.1 kB / 0.8373 GB, free: 18.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.9229, allocations: 0.5306 MB / 0.8378 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.9229, allocations: 0 / 0.8378 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001336/0.9243, allocations: 0.7421 MB / 0.8386 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.9243, allocations: 37.17 kB / 0.8386 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.9244, allocations: 7.797 kB / 0.8386 GB, free: 17.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.9244, allocations: 4.562 kB / 0.8386 GB, free: 17.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.9254, allocations: 177.9 kB / 0.8388 GB, free: 17.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006612/0.9261, allocations: 1.782 MB / 0.8405 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/0.9269, allocations: 80.69 kB / 0.8406 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.9269, allocations: 25.95 kB / 0.8406 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006858/0.9276, allocations: 375.9 kB / 0.841 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004778/0.9281, allocations: 376 kB / 0.8413 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007665/0.9289, allocations: 0.5379 MB / 0.8419 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/0.9289, allocations: 2.188 kB / 0.8419 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001231/0.9301, allocations: 0.7164 MB / 0.8426 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.9302, allocations: 48.88 kB / 0.8426 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9302, allocations: 4.578 kB / 0.8426 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.9302, allocations: 6.031 kB / 0.8426 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.9307, allocations: 130 kB / 0.8428 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.9308, allocations: 6.75 kB / 0.8428 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.9315, allocations: 83.56 kB / 0.8428 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.9315, allocations: 33.5 kB / 0.8429 GB, free: 14.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 (mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.9318, allocations: 251.3 kB / 0.8431 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.9319, allocations: 94.84 kB / 0.8432 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.9332, allocations: 0.6762 MB / 0.8439 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.9332, allocations: 2.156 kB / 0.8439 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9332, allocations: 1.375 kB / 0.8439 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.9335, allocations: 209.8 kB / 0.8441 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.9336, allocations: 14.11 kB / 0.8441 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.934, allocations: 35.73 kB / 0.8441 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.9341, allocations: 41.91 kB / 0.8442 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001426/0.9356, allocations: 0.9381 MB / 0.8451 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001436/0.937, allocations: 1.191 MB / 0.8462 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004192/0.9375, allocations: 246.3 kB / 0.8465 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007723/0.9382, allocations: 0.5642 MB / 0.847 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of Backend: time 6.01e-07/0.9383, allocations: 1.812 kB / 0.847 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003481/0.9417, allocations: 1.18 MB / 0.8482 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003255/0.945, allocations: 2.099 MB / 0.8502 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.03829/0.9833, allocations: 18.76 MB / 0.8685 GB, free: 2.875 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)