Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.798/1.798, allocations: 287.4 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 182 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 93.39 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 11.41 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01963/0.2338, allocations: 21.56 MB / 1 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2462, allocations: 9.115 MB / 1.009 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.2479, allocations: 27.75 kB / 1.009 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.2491, allocations: 298.2 kB / 1.01 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.2523, allocations: 0.8725 MB / 1.01 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.2552, allocations: 0.8772 MB / 1.011 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.258, allocations: 2.165 MB / 1.013 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.2594, allocations: 0.6145 MB / 1.014 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.261, allocations: 0.6924 MB / 1.015 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.2622, allocations: 0.6301 MB / 1.015 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.2625, allocations: 36 kB / 1.015 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.2647, allocations: 0.8695 MB / 1.016 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.265, allocations: 167.2 kB / 1.016 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.2655, allocations: 197.1 kB / 1.017 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.2673, allocations: 1.013 MB / 1.017 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2673, allocations: 0 / 1.017 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.908e-06/0.2673, allocations: 0 / 1.017 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.2674, allocations: 3.938 kB / 1.017 GB, free: 4.93 MB / 0.6355 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.002431/0.2698, allocations: 1.228 MB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.2699, allocations: 12.03 kB / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.27, allocations: 111.6 kB / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2711, allocations: 0.6831 MB / 1.019 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.2711, allocations: 49.31 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.2712, allocations: 67.94 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.2722, allocations: 0.6624 MB / 1.02 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2723, allocations: 0 / 1.02 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.2723, allocations: 24 kB / 1.02 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.2723, allocations: 12 kB / 1.02 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.2731, allocations: 460.9 kB / 1.021 GB, free: 1.496 MB / 0.6355 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.003386/0.2765, allocations: 2.545 MB / 1.023 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.2772, allocations: 362.8 kB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.2776, allocations: 192.6 kB / 1.024 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.2779, allocations: 344.4 kB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.2784, allocations: 325.1 kB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 2.826e-06/0.2784, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001284/0.2797, allocations: 0.7069 MB / 1.025 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.2798, allocations: 239.3 kB / 1.025 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/0.2807, allocations: 0.8358 MB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.2808, allocations: 37.7 kB / 1.026 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.2811, allocations: 440.6 kB / 1.027 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.2812, allocations: 118.3 kB / 1.027 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.2813, allocations: 12 kB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2814, allocations: 326 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.2818, allocations: 201.1 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.2823, allocations: 359.7 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.283, allocations: 0.5261 MB / 1.028 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.283, allocations: 4 kB / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00114/0.2842, allocations: 0.7293 MB / 1.029 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.2843, allocations: 202.1 kB / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2844, allocations: 4 kB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2844, allocations: 4 kB / 1.029 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.2854, allocations: 179.7 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009392/0.2863, allocations: 1.782 MB / 1.031 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.2871, allocations: 115.8 kB / 1.031 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.2871, allocations: 24 kB / 1.031 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.2871, allocations: 4.094 kB / 1.031 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001064/0.2882, allocations: 0.6425 MB / 1.032 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2882, allocations: 8 kB / 1.032 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.2883, allocations: 11.88 kB / 1.032 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.2888, allocations: 132.1 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2888, allocations: 8 kB / 1.032 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.2893, allocations: 99.38 kB / 1.032 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.2894, allocations: 27.98 kB / 1.032 GB, free: 5.422 MB / 0.6511 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 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.2898, allocations: 342.6 kB / 1.032 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2899, allocations: 90.88 kB / 1.032 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.2912, allocations: 0.6867 MB / 1.033 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2912, allocations: 0 / 1.033 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2912, allocations: 7.984 kB / 1.033 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.2915, allocations: 219.7 kB / 1.033 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.2916, allocations: 12 kB / 1.033 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.292, allocations: 55.94 kB / 1.033 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2921, allocations: 44.02 kB / 1.033 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001454/0.2936, allocations: 0.9711 MB / 1.034 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001453/0.295, allocations: 1.198 MB / 1.035 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003695/0.2954, allocations: 243.9 kB / 1.036 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006828/0.2961, allocations: 0.5666 MB / 1.036 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of Backend: time 6.51e-07/0.2961, allocations: 0 / 1.036 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.2993, allocations: 1.176 MB / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of SimCode: time 0.003457/0.3027, allocations: 2.327 MB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of Templates: time 0.03153/0.3343, allocations: 17.29 MB / 1.057 GB, free: 12.16 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)