Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.0009566/0.0009567, allocations: 190.8 kB / 372.9 MB, free: 10.16 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.694/1.694, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007555/0.0007556, allocations: 98.73 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005673, allocations: 12.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2573, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01562/0.273, allocations: 21.56 MB / 1.002 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2866, allocations: 9.123 MB / 1.011 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.2882, allocations: 31.69 kB / 1.011 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.2893, allocations: 294.2 kB / 1.011 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.2922, allocations: 0.9349 MB / 1.012 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.2948, allocations: 0.8872 MB / 1.013 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.2976, allocations: 2.165 MB / 1.015 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.2986, allocations: 0.6262 MB / 1.016 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.3, allocations: 0.7041 MB / 1.016 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.3009, allocations: 0.634 MB / 1.017 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.301, allocations: 28 kB / 1.017 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.3026, allocations: 0.9084 MB / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.3028, allocations: 167.2 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.3034, allocations: 443.3 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.305, allocations: 1.04 MB / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.305, allocations: 0 / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.374e-06/0.305, allocations: 0 / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.305, allocations: 0 / 1.019 GB, free: 3.711 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.002162/0.3072, allocations: 1.236 MB / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3072, allocations: 8.031 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3074, allocations: 111.6 kB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3084, allocations: 0.6792 MB / 1.021 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.3085, allocations: 49.31 kB / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-05/0.3086, allocations: 64 kB / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3096, allocations: 0.6585 MB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3097, allocations: 3.938 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.3097, allocations: 24 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3097, allocations: 12 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.3105, allocations: 460.9 kB / 1.023 GB, free: 288 kB / 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.003867/0.3144, allocations: 2.534 MB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.3151, allocations: 362.7 kB / 1.025 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.3155, allocations: 200.8 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.3158, allocations: 344.4 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000554/0.3164, allocations: 329.2 kB / 1.026 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/0.3164, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001388/0.3178, allocations: 0.705 MB / 1.027 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.3179, allocations: 243.3 kB / 1.027 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.3189, allocations: 0.8281 MB / 1.028 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.319, allocations: 37.7 kB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.3193, allocations: 436.4 kB / 1.028 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3194, allocations: 118.3 kB / 1.029 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.3195, allocations: 16.06 kB / 1.029 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3196, allocations: 330 kB / 1.029 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.32, allocations: 197.1 kB / 1.029 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3205, allocations: 367.6 kB / 1.029 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.3213, allocations: 0.5145 MB / 1.03 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3213, allocations: 4 kB / 1.03 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001255/0.3226, allocations: 0.733 MB / 1.031 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.3228, allocations: 210.9 kB / 1.031 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3228, allocations: 0 / 1.031 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.3228, allocations: 8 kB / 1.031 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.3239, allocations: 183.8 kB / 1.031 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.325, allocations: 1.774 MB / 1.033 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.3257, allocations: 119.2 kB / 1.033 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.3258, allocations: 27.98 kB / 1.033 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.3258, allocations: 4 kB / 1.033 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/0.3269, allocations: 0.6348 MB / 1.033 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3269, allocations: 4 kB / 1.033 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.3269, allocations: 11.94 kB / 1.033 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.3275, allocations: 127.8 kB / 1.034 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3275, allocations: 7.938 kB / 1.034 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.3281, allocations: 103.6 kB / 1.034 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.3281, allocations: 31.98 kB / 1.034 GB, free: 4.211 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.0004353/0.3286, allocations: 349.6 kB / 1.034 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3287, allocations: 90.88 kB / 1.034 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3299, allocations: 0.679 MB / 1.035 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.3299, allocations: 7.984 kB / 1.035 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3299, allocations: 0 / 1.035 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.3302, allocations: 227.7 kB / 1.035 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3303, allocations: 16 kB / 1.035 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.3307, allocations: 47.95 kB / 1.035 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3309, allocations: 43.92 kB / 1.035 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001567/0.3325, allocations: 0.9747 MB / 1.036 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001495/0.334, allocations: 1.194 MB / 1.037 GB, free: 500 kB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003835/0.3344, allocations: 247.9 kB / 1.038 GB, free: 252 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006999/0.3351, allocations: 0.5627 MB / 1.038 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of Backend: time 4.91e-07/0.3351, allocations: 0 / 1.038 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.3382, allocations: 1.179 MB / 1.039 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of SimCode: time 0.003442/0.3417, allocations: 2.324 MB / 1.041 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of Templates: time 0.0302/0.3719, allocations: 17.49 MB / 1.059 GB, free: 10.77 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)