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.0009421/0.0009421, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008647/0.0008647, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9215/0.9215, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.5468/0.5468, allocations: 110.2 MB / 369.4 MB, free: 12.6 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.51e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003117/0.003132, allocations: 1.928 MB / 0.5491 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.004421, allocations: 0.705 MB / 0.5498 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.00454, allocations: 7.938 kB / 0.5498 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.004781, allocations: 83.62 kB / 0.5499 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004917, allocations: 87.52 kB / 0.55 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.005543, allocations: 190.7 kB / 0.5502 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.005887, allocations: 263.4 kB / 0.5504 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.006042, allocations: 50.11 kB / 0.5505 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.006256, allocations: 151.7 kB / 0.5506 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.006461, allocations: 139.7 kB / 0.5508 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.006498, allocations: 23.94 kB / 0.5508 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.006643, allocations: 91.86 kB / 0.5509 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.006725, allocations: 59.83 kB / 0.5509 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.00681, allocations: 67.78 kB / 0.551 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.007228, allocations: 327.1 kB / 0.5513 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.00723, allocations: 4 kB / 0.5513 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.82e-07/0.007231, allocations: 0 / 0.5513 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.007237, allocations: 3.938 kB / 0.5513 GB, free: 5.645 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.0007847/0.008022, allocations: 0.5141 MB / 0.5518 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.008061, allocations: 12.03 kB / 0.5518 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.008114, allocations: 46.73 kB / 0.5519 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.008183, allocations: 32.75 kB / 0.5519 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.008632, allocations: 240.9 kB / 0.5521 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.00866, allocations: 12.38 kB / 0.5521 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.008695, allocations: 16.33 kB / 0.5522 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.009113, allocations: 297.4 kB / 0.5524 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.009128, allocations: 12.12 kB / 0.5525 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.009148, allocations: 11.88 kB / 0.5525 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.009155, allocations: 4 kB / 0.5525 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.009425, allocations: 158.1 kB / 0.5526 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.01024, allocations: 0.6059 MB / 0.5532 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.01059, allocations: 184.2 kB / 0.5534 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.01076, allocations: 118.6 kB / 0.5535 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.01078, allocations: 7.938 kB / 0.5535 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.01108, allocations: 215.9 kB / 0.5537 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.01108, allocations: 0 / 0.5537 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0006943/0.01177, allocations: 443.7 kB / 0.5541 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.01184, allocations: 144.5 kB / 0.5543 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.01211, allocations: 273.9 kB / 0.5545 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.01214, allocations: 33.7 kB / 0.5546 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.01223, allocations: 156.3 kB / 0.5547 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.01226, allocations: 47.64 kB / 0.5548 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.01231, allocations: 41.7 kB / 0.5548 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.01239, allocations: 334.8 kB / 0.5551 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01252, allocations: 117.7 kB / 0.5552 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.01265, allocations: 216.5 kB / 0.5554 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.01284, allocations: 247.7 kB / 0.5557 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01285, allocations: 0 / 0.5557 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003151/0.01316, allocations: 375 kB / 0.556 GB, free: 432 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.01319, allocations: 41.69 kB / 0.5561 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.0132, allocations: 4 kB / 0.5561 GB, free: 380 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01321, allocations: 4.094 kB / 0.5561 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.01329, allocations: 27.92 kB / 0.5561 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01329, allocations: 0 / 0.5561 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.01336, allocations: 23.88 kB / 0.5561 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01337, allocations: 11.98 kB / 0.5561 GB, free: 312 kB / 0.5105 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.0001166/0.01348, allocations: 205.1 kB / 0.5563 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.01351, allocations: 27.81 kB / 0.5564 GB, free: 64 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.01354, allocations: 33.77 kB / 0.5564 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01354, allocations: 4 kB / 0.5564 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01355, allocations: 0 / 0.5564 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01355, allocations: 0 / 0.5564 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.01371, allocations: 228.6 kB / 0.5566 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.01371, allocations: 0 / 0.5566 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.01377, allocations: 16.08 kB / 0.5566 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01377, allocations: 7.938 kB / 0.5566 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.01378, allocations: 7.984 kB / 0.5567 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01379, allocations: 4 kB / 0.5567 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01379, allocations: 0 / 0.5567 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.01424, allocations: 0.5289 MB / 0.5572 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.01427, allocations: 19.89 kB / 0.5572 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.01429, allocations: 8 kB / 0.5572 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.01434, allocations: 11.98 kB / 0.5572 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.0144, allocations: 23.95 kB / 0.5572 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01442, allocations: 11.98 kB / 0.5572 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001205/0.01454, allocations: 201.2 kB / 0.5574 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01454, allocations: 0 / 0.5574 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001827/0.01472, allocations: 56 kB / 0.5575 GB, free: 14.82 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.0006762/0.0154, allocations: 1.109 MB / 0.5586 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.01569, allocations: 326.6 kB / 0.5589 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01569, allocations: 0 / 0.5589 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.01583, allocations: 193.2 kB / 0.5591 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.01602, allocations: 32.48 kB / 0.5591 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.01832, allocations: 2.94 MB / 0.562 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.65e-05/0.0184, allocations: 136.8 kB / 0.5621 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.805e-05/0.01846, allocations: 21.48 kB / 0.5621 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.01854, allocations: 76.47 kB / 0.5622 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.01854, allocations: 0 / 0.5622 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.03602, allocations: 6.252 MB / 0.5683 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/6.962, allocations: 11.97 kB / 0.5683 GB, free: 3.703 MB / 0.5261 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.423503904603422] Failed to read output from testmodel.py, exit status != 0: 7.048044238239527 7.060897839 7.051827156 Calling exit ...