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.001718/0.001718, allocations: 81.16 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001516/0.001516, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.9629/0.9629, allocations: 110.3 MB / 369.4 MB, free: 1.164 MB / 334.1 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 1.623e-06/1.623e-06, allocations: 0 / 0.5478 GB, free: 9.867 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.904e-05/4.067e-05, allocations: 5.375 kB / 0.5478 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004795/0.004836, allocations: 1.919 MB / 0.5496 GB, free: 7.941 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.006806, allocations: 0.7001 MB / 0.5503 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.007018, allocations: 7.938 kB / 0.5503 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.007381, allocations: 94.47 kB / 0.5504 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.007657, allocations: 91.5 kB / 0.5505 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.00861, allocations: 190.6 kB / 0.5507 GB, free: 6.867 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.009169, allocations: 263.4 kB / 0.5509 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.009386, allocations: 42.17 kB / 0.551 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.009772, allocations: 159.7 kB / 0.5511 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.01012, allocations: 139.7 kB / 0.5513 GB, free: 6.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.01018, allocations: 20 kB / 0.5513 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.0104, allocations: 83.94 kB / 0.5514 GB, free: 6.172 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.01052, allocations: 59.77 kB / 0.5514 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.01066, allocations: 63.83 kB / 0.5515 GB, free: 6.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.01136, allocations: 342.9 kB / 0.5518 GB, free: 5.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.01137, allocations: 4 kB / 0.5518 GB, free: 5.711 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01137, allocations: 0 / 0.5518 GB, free: 5.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.01139, allocations: 0 / 0.5518 GB, free: 5.711 MB / 462.1 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.001411/0.0128, allocations: 0.5025 MB / 0.5523 GB, free: 5.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.01285, allocations: 8.031 kB / 0.5523 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.01297, allocations: 36.75 kB / 0.5523 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.01376, allocations: 240.9 kB / 0.5526 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.01381, allocations: 16.31 kB / 0.5526 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.01387, allocations: 24.34 kB / 0.5526 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.01459, allocations: 302.2 kB / 0.5529 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.01461, allocations: 192 / 0.5529 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.01465, allocations: 16.12 kB / 0.5529 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.01466, allocations: 4 kB / 0.5529 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.01509, allocations: 166 kB / 0.5531 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.0163, allocations: 0.579 MB / 0.5536 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.01684, allocations: 184.2 kB / 0.5538 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.0171, allocations: 122.7 kB / 0.5539 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.01713, allocations: 4 kB / 0.5539 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.01755, allocations: 206.7 kB / 0.5541 GB, free: 3.133 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/0.01755, allocations: 0 / 0.5541 GB, free: 3.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.001107/0.01866, allocations: 430.4 kB / 0.5545 GB, free: 2.688 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.01878, allocations: 136.5 kB / 0.5547 GB, free: 2.523 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.01921, allocations: 265.9 kB / 0.5549 GB, free: 2.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.01925, allocations: 33.7 kB / 0.555 GB, free: 2.211 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.01944, allocations: 164.3 kB / 0.5551 GB, free: 2.047 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.01951, allocations: 47.72 kB / 0.5552 GB, free: 2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.01962, allocations: 45.61 kB / 0.5552 GB, free: 1.949 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.01984, allocations: 334.8 kB / 0.5555 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.02012, allocations: 117.7 kB / 0.5556 GB, free: 1.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.0205, allocations: 214.2 kB / 0.5558 GB, free: 1.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.02105, allocations: 245.3 kB / 0.5561 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02105, allocations: 0 / 0.5561 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008299/0.02188, allocations: 376.7 kB / 0.5564 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.02194, allocations: 37.69 kB / 0.5565 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02194, allocations: 0 / 0.5565 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.02197, allocations: 4 kB / 0.5565 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.02217, allocations: 32.02 kB / 0.5565 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.02218, allocations: 4 kB / 0.5565 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.02236, allocations: 19.88 kB / 0.5565 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.02238, allocations: 12 kB / 0.5565 GB, free: 496 kB / 462.1 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.0002771/0.02266, allocations: 196.1 kB / 0.5567 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.02273, allocations: 27.8 kB / 0.5568 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.0228, allocations: 25.77 kB / 0.5568 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.0228, allocations: 7.938 kB / 0.5568 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.02281, allocations: 7.938 kB / 0.5568 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.02281, allocations: 4 kB / 0.5568 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.02315, allocations: 201.2 kB / 0.557 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02315, allocations: 0 / 0.557 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.02328, allocations: 15.98 kB / 0.557 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.02329, allocations: 7.938 kB / 0.557 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.02331, allocations: 0 / 0.557 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.02332, allocations: 4 kB / 0.557 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02332, allocations: 0 / 0.557 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.02453, allocations: 0.5239 MB / 0.5575 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.02459, allocations: 31.77 kB / 0.5576 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.02466, allocations: 4 kB / 0.5576 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.02481, allocations: 15.98 kB / 0.5576 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.02494, allocations: 23.95 kB / 0.5576 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.02497, allocations: 4 kB / 0.5576 GB, free: 15.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002786/0.02525, allocations: 193.2 kB / 0.5578 GB, free: 15.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02525, allocations: 0 / 0.5578 GB, free: 15.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004742/0.02573, allocations: 59.89 kB / 0.5578 GB, free: 15.07 MB / 478.1 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.0003486/0.02607, allocations: 146.1 kB / 0.558 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007986/0.02687, allocations: 326.6 kB / 0.5583 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02688, allocations: 0 / 0.5583 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.02726, allocations: 189 kB / 0.5585 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.02771, allocations: 36.95 kB / 0.5585 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.02899, allocations: 476.6 kB / 0.559 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.0292, allocations: 144.6 kB / 0.5591 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.02932, allocations: 17.48 kB / 0.5591 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.02938, allocations: 16.5 kB / 0.5591 GB, free: 13.65 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.02938, allocations: 0 / 0.5591 GB, free: 13.65 MB / 478.1 MB Notification: Performance of Templates: time 0.01067/0.04005, allocations: 2.884 MB / 0.562 GB, free: 10.82 MB / 478.1 MB " [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.737536001950502] Failed to read output from testmodel.py, exit status != 0: 0.05139968916773796 0.06614590599999993 0.05134444399999994 Calling exit ...