Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 84.8 kB / 21.56 MB, free: 2.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 160.3 kB / 24.97 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9796/0.9796, allocations: 177.1 MB / 205.4 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.982/1.982, allocations: 389.6 MB / 0.6362 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.586e-05, allocations: 2.312 kB / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01192/0.01195, allocations: 9.478 MB / 0.7852 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005476/0.01743, allocations: 3.942 MB / 0.7891 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.01813, allocations: 39.62 kB / 0.7891 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.0187, allocations: 262 kB / 0.7894 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.02003, allocations: 0.7708 MB / 0.7901 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.02179, allocations: 1.068 MB / 0.7912 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.02347, allocations: 1.905 MB / 0.793 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.02411, allocations: 0.6012 MB / 0.7936 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008859/0.02499, allocations: 0.9647 MB / 0.7946 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.02554, allocations: 0.5609 MB / 0.7951 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.02562, allocations: 72.88 kB / 0.7952 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.02678, allocations: 0.7603 MB / 0.7959 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.02695, allocations: 220.1 kB / 0.7961 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.02748, allocations: 315.1 kB / 0.7964 GB, free: 468 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.02877, allocations: 1.141 MB / 0.7975 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.02878, allocations: 5.156 kB / 0.7976 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.293e-06/0.02878, allocations: 0 / 0.7976 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.02879, allocations: 0 / 0.7976 GB, free: 15.3 MB / 0.7605 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.001257/0.03004, allocations: 1.274 MB / 0.7988 GB, free: 14 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.03008, allocations: 9.344 kB / 0.7988 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.03053, allocations: 177.8 kB / 0.799 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.03116, allocations: 0.5057 MB / 0.7995 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.0312, allocations: 51.12 kB / 0.7995 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.03126, allocations: 64 kB / 0.7996 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.03193, allocations: 0.674 MB / 0.8002 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.03195, allocations: 4 kB / 0.8002 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.03198, allocations: 21 kB / 0.8003 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.03199, allocations: 16 kB / 0.8003 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.03227, allocations: 267.4 kB / 0.8005 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.03427, allocations: 1.705 MB / 0.8022 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.03454, allocations: 258.3 kB / 0.8024 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.03465, allocations: 121.3 kB / 0.8026 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-05/0.03474, allocations: 25.7 kB / 0.8026 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.03501, allocations: 338.9 kB / 0.8029 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.03501, allocations: 0 / 0.8029 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.0004468/0.03546, allocations: 424.1 kB / 0.8033 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.03553, allocations: 240.2 kB / 0.8035 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.03592, allocations: 0.6246 MB / 0.8041 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.03596, allocations: 38.23 kB / 0.8042 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.03612, allocations: 339.4 kB / 0.8045 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.03619, allocations: 122.9 kB / 0.8046 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.03633, allocations: 126.2 kB / 0.8047 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.03643, allocations: 330.9 kB / 0.8051 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.03657, allocations: 132 kB / 0.8052 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.03688, allocations: 0.527 MB / 0.8057 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.03722, allocations: 378.1 kB / 0.8061 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.03723, allocations: 0 / 0.8061 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004313/0.03766, allocations: 448.8 kB / 0.8065 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.03769, allocations: 41.69 kB / 0.8065 GB, free: 5.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.0377, allocations: 4.844 kB / 0.8065 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.03771, allocations: 4 kB / 0.8065 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.03826, allocations: 178 kB / 0.8067 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006239/0.03888, allocations: 1.756 MB / 0.8084 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.03915, allocations: 72.3 kB / 0.8085 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.03919, allocations: 23.98 kB / 0.8085 GB, free: 3.434 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002124/0.0394, allocations: 209.3 kB / 0.8087 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002738/0.03968, allocations: 0.5416 MB / 0.8092 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003117/0.03999, allocations: 396.3 kB / 0.8096 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.03999, allocations: 0.7188 kB / 0.8096 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0004122/0.0404, allocations: 447 kB / 0.81 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.04043, allocations: 38.91 kB / 0.8101 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.04043, allocations: 8 kB / 0.8101 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/0.04044, allocations: 4 kB / 0.8101 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.04082, allocations: 166.6 kB / 0.8103 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.04083, allocations: 8 kB / 0.8103 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.04107, allocations: 60.66 kB / 0.8103 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.0411, allocations: 24.86 kB / 0.8103 GB, free: 1.34 MB / 0.7605 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.int.local_reset,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * 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.0001506/0.04125, allocations: 258.5 kB / 0.8106 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.04132, allocations: 59.5 kB / 0.8106 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.04179, allocations: 427.1 kB / 0.8111 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.04179, allocations: 0.75 kB / 0.8111 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.0418, allocations: 0 / 0.8111 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.04195, allocations: 112.1 kB / 0.8112 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.04202, allocations: 12 kB / 0.8112 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.04219, allocations: 24.64 kB / 0.8112 GB, free: 452 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.04226, allocations: 48.58 kB / 0.8112 GB, free: 404 kB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006503/0.04291, allocations: 0.7451 MB / 0.812 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006064/0.04352, allocations: 0.9442 MB / 0.8129 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001491/0.04367, allocations: 154.5 kB / 0.813 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002243/0.04389, allocations: 296.5 kB / 0.8133 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of Backend: time 5.01e-07/0.04389, allocations: 1.938 kB / 0.8133 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.04546, allocations: 0.9052 MB / 0.8142 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of SimCode: time 0.002462/0.04792, allocations: 2.184 MB / 0.8163 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of Templates: time 0.02463/0.07255, allocations: 20.41 MB / 0.8363 GB, free: 6.918 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.596706318669021]