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.0009579/0.0009579, 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.000959/0.000959, 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 1.042/1.042, 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.6577/0.6577, allocations: 110.3 MB / 369.4 MB, free: 12.59 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 3.858e-06/3.858e-06, allocations: 0 / 0.5473 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.717e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002972/0.003009, allocations: 1.924 MB / 0.5491 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004114, allocations: 0.7128 MB / 0.5498 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.004245, allocations: 3.938 kB / 0.5498 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.004543, allocations: 79.59 kB / 0.5499 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.004656, allocations: 87.56 kB / 0.55 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.005242, allocations: 195.6 kB / 0.5502 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.005547, allocations: 255.4 kB / 0.5504 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.005726, allocations: 50.09 kB / 0.5505 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.005902, allocations: 159.7 kB / 0.5506 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.006086, allocations: 139.7 kB / 0.5508 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.006115, allocations: 20 kB / 0.5508 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.006241, allocations: 91.88 kB / 0.5509 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.006334, allocations: 59.83 kB / 0.5509 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.832e-05/0.006413, allocations: 63.78 kB / 0.551 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.006784, allocations: 335 kB / 0.5513 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006787, allocations: 0 / 0.5513 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.893e-06/0.006789, allocations: 0 / 0.5513 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.006795, allocations: 0 / 0.5513 GB, free: 5.672 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.0006692/0.007465, allocations: 0.5219 MB / 0.5518 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.007509, allocations: 8.031 kB / 0.5518 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.00755, allocations: 50.73 kB / 0.5519 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.007599, allocations: 28.75 kB / 0.5519 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.007958, allocations: 240.9 kB / 0.5521 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.007977, allocations: 12.38 kB / 0.5521 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.008003, allocations: 16.33 kB / 0.5521 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.0083, allocations: 309.4 kB / 0.5524 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.008308, allocations: 4.125 kB / 0.5524 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.008323, allocations: 7.938 kB / 0.5525 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.00833, allocations: 4 kB / 0.5525 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.008505, allocations: 158.1 kB / 0.5526 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.009165, allocations: 0.6098 MB / 0.5532 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.009443, allocations: 184.2 kB / 0.5534 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.009601, allocations: 118.7 kB / 0.5535 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.00962, allocations: 7.969 kB / 0.5535 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.009886, allocations: 206.7 kB / 0.5537 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.009887, allocations: 0 / 0.5537 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0005366/0.01042, allocations: 447.5 kB / 0.5541 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003574/0.01078, allocations: 140.5 kB / 0.5543 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01099, allocations: 273.9 kB / 0.5545 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.01102, allocations: 33.7 kB / 0.5546 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01112, allocations: 160.4 kB / 0.5547 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.01116, allocations: 47.58 kB / 0.5548 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.01122, allocations: 41.7 kB / 0.5548 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004477/0.01167, allocations: 334.8 kB / 0.5551 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.01179, allocations: 121.7 kB / 0.5552 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.01194, allocations: 216.7 kB / 0.5554 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.01216, allocations: 247.9 kB / 0.5557 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01216, allocations: 0 / 0.5557 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004159/0.01257, allocations: 379.1 kB / 0.556 GB, free: 448 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.01263, allocations: 41.81 kB / 0.5561 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.01264, allocations: 4 kB / 0.5561 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01265, allocations: 0 / 0.5561 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01278, allocations: 23.98 kB / 0.5561 GB, free: 372 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.01279, allocations: 0 / 0.5561 GB, free: 372 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.01288, allocations: 23.88 kB / 0.5561 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.01289, allocations: 11.98 kB / 0.5561 GB, free: 336 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.0001504/0.01304, allocations: 201.2 kB / 0.5563 GB, free: 120 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.01307, allocations: 27.81 kB / 0.5563 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.01311, allocations: 33.78 kB / 0.5564 GB, free: 52 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01312, allocations: 3.984 kB / 0.5564 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.01313, allocations: 0 / 0.5564 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.01313, allocations: 0 / 0.5564 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.01336, allocations: 236.6 kB / 0.5566 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01336, allocations: 0 / 0.5566 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.01347, allocations: 16.08 kB / 0.5566 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01348, allocations: 3.938 kB / 0.5566 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.01349, allocations: 8 kB / 0.5566 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.0135, allocations: 0 / 0.5566 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.0135, allocations: 4 kB / 0.5566 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.01406, allocations: 0.5327 MB / 0.5572 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01409, allocations: 15.89 kB / 0.5572 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.01412, allocations: 11.94 kB / 0.5572 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.01417, allocations: 11.98 kB / 0.5572 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.01424, allocations: 23.95 kB / 0.5572 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.01426, allocations: 15.98 kB / 0.5572 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00014/0.0144, allocations: 197.2 kB / 0.5574 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.0144, allocations: 4.062 kB / 0.5574 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002003/0.0146, allocations: 51.94 kB / 0.5575 GB, free: 14.85 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.000781/0.01538, allocations: 1.105 MB / 0.5586 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.01573, allocations: 330.8 kB / 0.5589 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01573, allocations: 7.938 kB / 0.5589 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.01587, allocations: 189 kB / 0.5591 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.0161, allocations: 28.48 kB / 0.5591 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.01948, allocations: 2.944 MB / 0.562 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.01961, allocations: 140.8 kB / 0.5621 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.385e-05/0.0197, allocations: 21.47 kB / 0.5621 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01981, allocations: 76.47 kB / 0.5622 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of SimCode: time 1.914e-06/0.01981, allocations: 0 / 0.5622 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.04245, allocations: 6.245 MB / 0.5683 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.069, allocations: 11.92 kB / 0.5683 GB, free: 3.723 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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: 10.131789426319301] Failed to read output from testmodel.py, exit status != 0: 7.1513008531183 7.160561013 7.151582593 Calling exit ...