Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.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.0009264/0.0009264, allocations: 92.22 kB / 20.43 MB, free: 4.164 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.0009217/0.0009217, allocations: 165 kB / 23.8 MB, free: 0.793 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.9549/0.9549, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6042/0.6042, allocations: 115 MB / 375.7 MB, free: 7.66 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.567e-05, allocations: 3.75 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002336/0.002362, allocations: 1.984 MB / 483.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003371, allocations: 0.7217 MB / 484.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.003493, allocations: 3.219 kB / 484.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.003718, allocations: 85.75 kB / 484.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.003833, allocations: 98.59 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.004349, allocations: 180.1 kB / 484.6 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.004629, allocations: 266.3 kB / 484.8 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.00477, allocations: 45.38 kB / 484.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.004958, allocations: 163.2 kB / 485 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.005137, allocations: 135.6 kB / 485.2 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.005172, allocations: 18.34 kB / 485.2 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.005304, allocations: 84 kB / 485.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.005372, allocations: 57.64 kB / 485.3 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.005438, allocations: 58.98 kB / 485.4 MB, free: 9.641 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005698, allocations: 230.7 kB / 485.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.0057, allocations: 1.594 kB / 485.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005701, allocations: 1.125 kB / 485.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.005712, allocations: 0 / 485.6 MB, free: 9.531 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005721/0.006284, allocations: 0.5988 MB / 486.2 MB, free: 8.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.006322, allocations: 9.531 kB / 486.2 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.006395, allocations: 39.47 kB / 486.2 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.006615, allocations: 231.6 kB / 486.5 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.006638, allocations: 15.38 kB / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.006668, allocations: 16.06 kB / 486.5 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.006938, allocations: 277.8 kB / 486.8 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006948, allocations: 1.25 kB / 486.8 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.006964, allocations: 6.406 kB / 486.8 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.006973, allocations: 2.938 kB / 486.8 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.007077, allocations: 87.44 kB / 486.9 MB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.007787, allocations: 0.7194 MB / 487.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.007934, allocations: 111.4 kB / 487.7 MB, free: 23.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.007994, allocations: 77.23 kB / 487.8 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.008005, allocations: 2.875 kB / 487.8 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.008139, allocations: 155.5 kB / 487.9 MB, free: 23.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.008141, allocations: 3.938 kB / 487.9 MB, free: 23.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003134/0.008454, allocations: 267.8 kB / 488.2 MB, free: 23.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.008485, allocations: 131.3 kB / 488.3 MB, free: 23.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.008667, allocations: 300.3 kB / 488.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.008682, allocations: 35.84 kB / 488.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.008771, allocations: 214 kB / 488.9 MB, free: 22.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.008797, allocations: 37.8 kB / 488.9 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.008846, allocations: 46.69 kB / 488.9 MB, free: 22.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.008962, allocations: 0.5146 MB / 489.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.009023, allocations: 57.33 kB / 489.5 MB, free: 22.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.009101, allocations: 180.1 kB / 489.7 MB, free: 22.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.009213, allocations: 160.3 kB / 489.8 MB, free: 21.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009215, allocations: 0 / 489.8 MB, free: 21.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002232/0.009438, allocations: 246.1 kB / 490.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.009468, allocations: 36.95 kB / 490.1 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.009473, allocations: 1.406 kB / 490.1 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.009487, allocations: 2.469 kB / 490.1 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.009567, allocations: 29.09 kB / 490.2 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.009573, allocations: 5.234 kB / 490.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.009637, allocations: 17.61 kB / 490.2 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.00965, allocations: 7.156 kB / 490.2 MB, free: 21.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.009757, allocations: 220.3 kB / 490.4 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.009786, allocations: 37.91 kB / 490.4 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.009815, allocations: 27.75 kB / 490.5 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009817, allocations: 2.312 kB / 490.5 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.009821, allocations: 0 / 490.5 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.009824, allocations: 0 / 490.5 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.009962, allocations: 230.8 kB / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009963, allocations: 0 / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.01002, allocations: 11.53 kB / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01002, allocations: 1.594 kB / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.01004, allocations: 10.83 kB / 490.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01004, allocations: 1.125 kB / 490.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01004, allocations: 0 / 490.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.01034, allocations: 342.4 kB / 491 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.01036, allocations: 25.31 kB / 491.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.01039, allocations: 12.92 kB / 491.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.01043, allocations: 6.688 kB / 491.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.01049, allocations: 28.17 kB / 491.1 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01051, allocations: 9.422 kB / 491.1 MB, free: 21.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.01062, allocations: 197.7 kB / 491.3 MB, free: 20.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0.9062 kB / 491.3 MB, free: 20.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.01081, allocations: 57.73 kB / 491.4 MB, free: 20.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.01095, allocations: 135.5 kB / 491.5 MB, free: 20.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.01118, allocations: 234.5 kB / 491.7 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01118, allocations: 0 / 491.7 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.01127, allocations: 144.8 kB / 491.9 MB, free: 20.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.01147, allocations: 48.89 kB / 491.9 MB, free: 20.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.01193, allocations: 416.7 kB / 492.3 MB, free: 20.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.085e-05/0.01197, allocations: 87.44 kB / 492.4 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.01202, allocations: 14.39 kB / 492.4 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.01206, allocations: 22.73 kB / 492.5 MB, free: 20.12 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01206, allocations: 3.938 kB / 492.5 MB, free: 20.11 MB / 426.7 MB Notification: Performance of Templates: time 0.005424/0.01749, allocations: 3.073 MB / 495.5 MB, free: 19.86 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.448874955996871]