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.001026/0.001026, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002626, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0008298/0.0008298, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001927, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.021/1.021, allocations: 177.1 MB / 189.6 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1847/1.206, allocations: 53.66 MB / 243.2 MB, free: 2.355 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6291/0.6291, allocations: 119.1 MB / 363.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07633/0.7054, allocations: 37.86 MB / 400.9 MB, free: 15.3 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.553e-06/1.553e-06, allocations: 0 / 402.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.327e-05, allocations: 5.969 kB / 402.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003516/0.00354, allocations: 2.006 MB / 404.2 MB, free: 12 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.004921, allocations: 0.7399 MB / 405 MB, free: 11.26 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.005079, allocations: 3.938 kB / 405 MB, free: 11.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.005295, allocations: 99.55 kB / 405.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.005454, allocations: 99.55 kB / 405.2 MB, free: 11.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.005979, allocations: 175.5 kB / 405.3 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.006365, allocations: 251.4 kB / 405.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.006514, allocations: 54.75 kB / 405.6 MB, free: 10.58 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.006787, allocations: 179.7 kB / 405.8 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.006976, allocations: 111.7 kB / 405.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.007012, allocations: 20 kB / 405.9 MB, free: 10.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.007225, allocations: 99.91 kB / 406 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.007292, allocations: 39.88 kB / 406.1 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.00735, allocations: 51.81 kB / 406.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.007591, allocations: 203.2 kB / 406.3 MB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.007606, allocations: 0 / 406.3 MB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007608, allocations: 0 / 406.3 MB, free: 9.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.007625, allocations: 3.938 kB / 406.3 MB, free: 9.887 MB / 394.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.0005733/0.008198, allocations: 0.5164 MB / 406.8 MB, free: 9.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.008226, allocations: 11.89 kB / 406.8 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.008274, allocations: 28.91 kB / 406.9 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.008484, allocations: 204.8 kB / 407.1 MB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.008505, allocations: 12.38 kB / 407.1 MB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.008528, allocations: 16.38 kB / 407.1 MB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.008756, allocations: 259.9 kB / 407.4 MB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.008764, allocations: 7.938 kB / 407.4 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.008776, allocations: 8 kB / 407.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.008783, allocations: 4 kB / 407.4 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.008856, allocations: 72.95 kB / 407.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.009282, allocations: 471.5 kB / 407.9 MB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.009401, allocations: 132.2 kB / 408 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.00945, allocations: 70.41 kB / 408.1 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.009458, allocations: 4 kB / 408.1 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.009593, allocations: 153.5 kB / 408.3 MB, free: 7.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.009594, allocations: 0 / 408.3 MB, free: 7.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001969/0.009791, allocations: 210.7 kB / 408.5 MB, free: 7.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.009828, allocations: 85.11 kB / 408.5 MB, free: 7.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.00995, allocations: 232.9 kB / 408.8 MB, free: 7.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.009969, allocations: 33.7 kB / 408.8 MB, free: 7.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.01002, allocations: 128.8 kB / 408.9 MB, free: 7.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.01006, allocations: 43.67 kB / 409 MB, free: 6.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.0101, allocations: 49.62 kB / 409 MB, free: 6.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.01019, allocations: 342.7 kB / 409.4 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.01023, allocations: 56.52 kB / 409.4 MB, free: 6.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.0103, allocations: 150.2 kB / 409.6 MB, free: 6.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.0104, allocations: 151.9 kB / 409.7 MB, free: 6.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0104, allocations: 0 / 409.7 MB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001405/0.01054, allocations: 187.8 kB / 409.9 MB, free: 5.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.01057, allocations: 37.69 kB / 409.9 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01058, allocations: 4 kB / 409.9 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.01059, allocations: 0 / 409.9 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.01067, allocations: 27.92 kB / 410 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01067, allocations: 3.984 kB / 410 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.01073, allocations: 27.88 kB / 410 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.01074, allocations: 4 kB / 410 MB, free: 5.852 MB / 394.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 9.187e-05/0.01083, allocations: 170.4 kB / 410.2 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.01085, allocations: 19.92 kB / 410.2 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.01088, allocations: 29.77 kB / 410.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01089, allocations: 0 / 410.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01089, allocations: 0 / 410.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01089, allocations: 0 / 410.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.01115, allocations: 133.7 kB / 410.3 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01115, allocations: 0 / 410.3 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.01121, allocations: 15.98 kB / 410.4 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.01123, allocations: 27.78 kB / 410.4 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01123, allocations: 0 / 410.4 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.01125, allocations: 15.98 kB / 410.4 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01125, allocations: 0 / 410.4 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01125, allocations: 4 kB / 410.4 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01147, allocations: 275.2 kB / 410.7 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.01149, allocations: 7.938 kB / 410.7 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.01154, allocations: 15.98 kB / 410.7 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.01158, allocations: 23.95 kB / 410.7 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01159, allocations: 4 kB / 410.7 MB, free: 5.051 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.425e-05/0.01165, allocations: 78.75 kB / 410.8 MB, free: 4.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01165, allocations: 7.969 kB / 410.8 MB, free: 4.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.01181, allocations: 63.83 kB / 410.9 MB, free: 4.898 MB / 394.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.0001337/0.01194, allocations: 120.3 kB / 411 MB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.01213, allocations: 215.5 kB / 411.2 MB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.01213, allocations: 4 kB / 411.2 MB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.01221, allocations: 133.9 kB / 411.3 MB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.01236, allocations: 52.66 kB / 411.4 MB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.01293, allocations: 419.3 kB / 411.8 MB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.01297, allocations: 83.81 kB / 411.9 MB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.413e-05/0.01302, allocations: 17.48 kB / 411.9 MB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.01317, allocations: 99.34 kB / 412 MB, free: 3.668 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01317, allocations: 0 / 412 MB, free: 3.668 MB / 394.7 MB Notification: Performance of Templates: time 0.005085/0.01826, allocations: 3.214 MB / 415.2 MB, free: 0.5039 MB / 394.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.2720964467152953]