Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0009431/0.0009431, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000853/0.000853, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9157/0.9157, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5681/0.5681, allocations: 110.2 MB / 370.2 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.5485 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.286e-05, allocations: 5.234 kB / 0.5485 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00232/0.002343, allocations: 1.928 MB / 0.5504 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.003386, allocations: 0.7049 MB / 0.5511 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.003498, allocations: 7.938 kB / 0.5511 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.003755, allocations: 79.64 kB / 0.5511 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.003851, allocations: 91.56 kB / 0.5512 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.004365, allocations: 183.6 kB / 0.5514 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.004627, allocations: 271.3 kB / 0.5517 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.004785, allocations: 46.17 kB / 0.5517 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.004952, allocations: 151.7 kB / 0.5519 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.005135, allocations: 139.7 kB / 0.552 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.00517, allocations: 20 kB / 0.552 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.005291, allocations: 91.86 kB / 0.5521 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.005375, allocations: 63.77 kB / 0.5522 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.005449, allocations: 71.77 kB / 0.5522 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.005793, allocations: 339 kB / 0.5525 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005795, allocations: 0 / 0.5525 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005796, allocations: 0 / 0.5525 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.005802, allocations: 0 / 0.5525 GB, free: 5.18 MB / 0.5105 GB 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.0007318/0.006534, allocations: 0.5025 MB / 0.553 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.006579, allocations: 8.031 kB / 0.553 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.006638, allocations: 32.8 kB / 0.5531 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.007007, allocations: 244.9 kB / 0.5533 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.007029, allocations: 12.38 kB / 0.5533 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.007061, allocations: 12.38 kB / 0.5533 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.007375, allocations: 301.4 kB / 0.5536 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.007384, allocations: 192 / 0.5536 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.007403, allocations: 20.05 kB / 0.5536 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.007411, allocations: 8 kB / 0.5536 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.007584, allocations: 166 kB / 0.5538 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.008156, allocations: 0.5675 MB / 0.5544 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.008388, allocations: 188.3 kB / 0.5545 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.008495, allocations: 118.5 kB / 0.5547 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.00851, allocations: 7.984 kB / 0.5547 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.009012, allocations: 206.6 kB / 0.5549 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.009013, allocations: 0 / 0.5549 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0004757/0.009489, allocations: 444.7 kB / 0.5553 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.009545, allocations: 136.5 kB / 0.5554 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.009718, allocations: 265.8 kB / 0.5557 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.009737, allocations: 33.7 kB / 0.5557 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.009827, allocations: 164.3 kB / 0.5559 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.009854, allocations: 39.64 kB / 0.5559 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.009909, allocations: 41.7 kB / 0.5559 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.009998, allocations: 338.8 kB / 0.5563 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.01011, allocations: 117.7 kB / 0.5564 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.01024, allocations: 216.4 kB / 0.5566 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.01044, allocations: 240.2 kB / 0.5568 GB, free: 484 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01044, allocations: 4 kB / 0.5568 GB, free: 480 kB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003114/0.01075, allocations: 376.6 kB / 0.5572 GB, free: 84 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.01079, allocations: 41.69 kB / 0.5572 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01079, allocations: 4.094 kB / 0.5572 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.01081, allocations: 3.938 kB / 0.5572 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.01089, allocations: 24.08 kB / 0.5572 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.0109, allocations: 11.92 kB / 0.5572 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.01096, allocations: 27.88 kB / 0.5573 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.01097, allocations: 7.984 kB / 0.5573 GB, free: 15.95 MB / 0.5261 GB 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.0001253/0.01109, allocations: 193.3 kB / 0.5575 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.01112, allocations: 27.8 kB / 0.5575 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.01116, allocations: 29.77 kB / 0.5575 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01116, allocations: 4 kB / 0.5575 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01117, allocations: 0 / 0.5575 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01117, allocations: 4 kB / 0.5575 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.01131, allocations: 201.2 kB / 0.5577 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01131, allocations: 0 / 0.5577 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.01137, allocations: 19.92 kB / 0.5577 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01137, allocations: 3.938 kB / 0.5577 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01138, allocations: 7.984 kB / 0.5578 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.01139, allocations: 0 / 0.5578 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01139, allocations: 0 / 0.5578 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.01184, allocations: 0.5214 MB / 0.5583 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.01187, allocations: 19.83 kB / 0.5583 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.01189, allocations: 8 kB / 0.5583 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.01194, allocations: 11.98 kB / 0.5583 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.012, allocations: 31.89 kB / 0.5583 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.01202, allocations: 15.98 kB / 0.5583 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001112/0.01213, allocations: 189.2 kB / 0.5585 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01213, allocations: 0 / 0.5585 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001748/0.01231, allocations: 63.83 kB / 0.5586 GB, free: 14.53 MB / 0.5261 GB 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.0001487/0.01246, allocations: 142.3 kB / 0.5587 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.01278, allocations: 318.6 kB / 0.559 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01278, allocations: 0 / 0.559 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.01291, allocations: 193 kB / 0.5592 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.0131, allocations: 35.91 kB / 0.5592 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.01365, allocations: 0.5099 MB / 0.5597 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.044e-05/0.01374, allocations: 140.7 kB / 0.5599 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.01377, allocations: 20.5 kB / 0.5599 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.01378, allocations: 0 / 0.5599 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.003722/0.0175, allocations: 3.044 MB / 0.5629 GB, free: 10.05 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.131953357718885] Failed to read output from testmodel.py, exit status != 0: 0.02285315003246069 0.030702399000000002 0.023004248 Calling exit ...