Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001023/0.001023, allocations: 176.4 kB / 326.5 MB, free: 2.711 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.622/1.622, allocations: 205 MB / 0.5767 GB, free: 21.02 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.0007162/0.0007162, allocations: 94.28 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003122, allocations: 8.594 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01561/0.1915, allocations: 23.1 MB / 0.9193 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.2027, allocations: 10.04 MB / 0.9291 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.2039, allocations: 31.69 kB / 0.9291 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.2048, allocations: 326.2 kB / 0.9295 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.2071, allocations: 0.9837 MB / 0.9304 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.2092, allocations: 0.9637 MB / 0.9314 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.2111, allocations: 2.472 MB / 0.9338 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006668/0.2117, allocations: 0.6195 MB / 0.9344 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000998/0.2128, allocations: 0.7234 MB / 0.9351 GB, free: 28.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.2134, allocations: 0.6806 MB / 0.9357 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.97e-05/0.2135, allocations: 32 kB / 0.9358 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2149, allocations: 0.9397 MB / 0.9367 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.2151, allocations: 167.2 kB / 0.9369 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.2153, allocations: 445.2 kB / 0.9373 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.2165, allocations: 1.413 MB / 0.9387 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2165, allocations: 0 / 0.9387 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.727e-06/0.2165, allocations: 0 / 0.9387 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.2165, allocations: 7.938 kB / 0.9387 GB, free: 25.13 MB / 0.6042 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.00155/0.2181, allocations: 1.216 MB / 0.9399 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2181, allocations: 12.03 kB / 0.9399 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.2182, allocations: 119.5 kB / 0.94 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007481/0.219, allocations: 0.6793 MB / 0.9406 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.219, allocations: 49.31 kB / 0.9407 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.2191, allocations: 60 kB / 0.9407 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.2199, allocations: 0.6624 MB / 0.9414 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2199, allocations: 4 kB / 0.9414 GB, free: 22.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.22, allocations: 24 kB / 0.9414 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.22, allocations: 12 kB / 0.9414 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.2206, allocations: 460.9 kB / 0.9419 GB, free: 21.71 MB / 0.6042 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.002501/0.2232, allocations: 2.538 MB / 0.9443 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.2237, allocations: 362.8 kB / 0.9447 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.224, allocations: 188.8 kB / 0.9449 GB, free: 18.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.2242, allocations: 340.4 kB / 0.9452 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.2246, allocations: 333.1 kB / 0.9455 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.244e-06/0.2247, allocations: 0 / 0.9455 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001029/0.2257, allocations: 0.7033 MB / 0.9462 GB, free: 17.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2258, allocations: 239.3 kB / 0.9464 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006642/0.2264, allocations: 0.8401 MB / 0.9473 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.2265, allocations: 37.7 kB / 0.9473 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.2267, allocations: 444.3 kB / 0.9477 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.427e-05/0.2268, allocations: 114.4 kB / 0.9478 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.2268, allocations: 61.67 kB / 0.9479 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.2269, allocations: 330 kB / 0.9482 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2272, allocations: 205.1 kB / 0.9484 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.2276, allocations: 381.3 kB / 0.9488 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.2282, allocations: 0.5417 MB / 0.9493 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2282, allocations: 0 / 0.9493 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009836/0.2292, allocations: 0.7448 MB / 0.95 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.2293, allocations: 205 kB / 0.9502 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2293, allocations: 4 kB / 0.9502 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2294, allocations: 4 kB / 0.9502 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.2303, allocations: 179.7 kB / 0.9504 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005692/0.2308, allocations: 1.785 MB / 0.9521 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.2314, allocations: 108 kB / 0.9522 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.2315, allocations: 27.98 kB / 0.9523 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-06/0.2315, allocations: 0 / 0.9523 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008492/0.2323, allocations: 0.6426 MB / 0.9529 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2324, allocations: 0 / 0.9529 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.2324, allocations: 16.22 kB / 0.9529 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.2328, allocations: 131.8 kB / 0.953 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2328, allocations: 11.98 kB / 0.953 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.2334, allocations: 95.39 kB / 0.9531 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.2334, allocations: 23.98 kB / 0.9532 GB, free: 9.547 MB / 0.6042 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.0002669/0.2337, allocations: 346.6 kB / 0.9535 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.2338, allocations: 90.88 kB / 0.9536 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.2347, allocations: 0.6944 MB / 0.9542 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2348, allocations: 7.984 kB / 0.9543 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2348, allocations: 0 / 0.9543 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.235, allocations: 207.8 kB / 0.9545 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2351, allocations: 16 kB / 0.9545 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.2355, allocations: 47.95 kB / 0.9545 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.2356, allocations: 43.92 kB / 0.9546 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001161/0.2367, allocations: 0.9747 MB / 0.9555 GB, free: 7.047 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001156/0.2379, allocations: 1.195 MB / 0.9567 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003091/0.2382, allocations: 261 kB / 0.9569 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004868/0.2387, allocations: 0.5628 MB / 0.9575 GB, free: 5 MB / 0.6042 GB Notification: Performance of Backend: time 6.62e-07/0.2387, allocations: 3.938 kB / 0.9575 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.2413, allocations: 1.196 MB / 0.9586 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002614/0.2439, allocations: 2.389 MB / 0.961 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of Templates: time 0.02686/0.2708, allocations: 17.69 MB / 0.9783 GB, free: 15.8 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)