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.001373/0.001373, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001517/0.001517, allocations: 212.7 kB / 22.25 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.9853/0.9853, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 74.28 kB / 0.6331 GB, free: 6.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1893, allocations: 87.88 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003791/0.1931, allocations: 1.916 MB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1946, allocations: 0.7097 MB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.1948, allocations: 4 kB / 0.7215 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1951, allocations: 83.64 kB / 0.7216 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1953, allocations: 83.58 kB / 0.7216 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/0.196, allocations: 191.6 kB / 0.7218 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.1965, allocations: 267.4 kB / 0.7221 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1966, allocations: 49.86 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1968, allocations: 115.7 kB / 0.7222 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1971, allocations: 155.5 kB / 0.7224 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.1971, allocations: 20 kB / 0.7224 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1973, allocations: 91.92 kB / 0.7225 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.1974, allocations: 63.77 kB / 0.7226 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1975, allocations: 79.53 kB / 0.7226 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.198, allocations: 314.8 kB / 0.7229 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.198, allocations: 4 kB / 0.7229 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.198, allocations: 0 / 0.7229 GB, free: 10.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.198, allocations: 0 / 0.7229 GB, free: 10.68 MB / 0.545 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.00101/0.1991, allocations: 0.5123 MB / 0.7234 GB, free: 10.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1991, allocations: 15.97 kB / 0.7234 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.72e-05/0.1992, allocations: 46.73 kB / 0.7235 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.1992, allocations: 32.75 kB / 0.7235 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.1998, allocations: 249.1 kB / 0.7238 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.1999, allocations: 12.38 kB / 0.7238 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.1999, allocations: 16.38 kB / 0.7238 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.2004, allocations: 309.5 kB / 0.7241 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2004, allocations: 0 / 0.7241 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.2004, allocations: 8 kB / 0.7241 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2004, allocations: 4 kB / 0.7241 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.2007, allocations: 166 kB / 0.7243 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2017, allocations: 0.6098 MB / 0.7248 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.2022, allocations: 188.2 kB / 0.725 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.2023, allocations: 121.3 kB / 0.7251 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.2024, allocations: 0 / 0.7251 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.2027, allocations: 198.8 kB / 0.7253 GB, free: 8.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.2027, allocations: 7.938 kB / 0.7253 GB, free: 7.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000775/0.2035, allocations: 441.1 kB / 0.7258 GB, free: 7.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/0.2036, allocations: 136.5 kB / 0.7259 GB, free: 7.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.2039, allocations: 277.9 kB / 0.7262 GB, free: 7.102 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.2039, allocations: 33.7 kB / 0.7262 GB, free: 7.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.2041, allocations: 156.3 kB / 0.7263 GB, free: 6.906 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.2041, allocations: 47.62 kB / 0.7264 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.2042, allocations: 45.61 kB / 0.7264 GB, free: 6.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2044, allocations: 346.7 kB / 0.7268 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.2046, allocations: 113.7 kB / 0.7269 GB, free: 6.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.2048, allocations: 222.1 kB / 0.7271 GB, free: 6.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.2052, allocations: 238.7 kB / 0.7273 GB, free: 5.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2052, allocations: 0 / 0.7273 GB, free: 5.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005491/0.2057, allocations: 374.5 kB / 0.7277 GB, free: 5.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.2058, allocations: 45.81 kB / 0.7277 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2058, allocations: 0 / 0.7277 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2058, allocations: 4 kB / 0.7277 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2059, allocations: 23.92 kB / 0.7277 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2059, allocations: 4 kB / 0.7277 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2061, allocations: 27.88 kB / 0.7278 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.2061, allocations: 8 kB / 0.7278 GB, free: 5.332 MB / 0.545 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.0001901/0.2063, allocations: 192.3 kB / 0.728 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.2063, allocations: 31.81 kB / 0.728 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.2064, allocations: 29.77 kB / 0.728 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2064, allocations: 4 kB / 0.728 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2064, allocations: 0 / 0.728 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2064, allocations: 0 / 0.728 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.2066, allocations: 236.5 kB / 0.7282 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2066, allocations: 0 / 0.7282 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.2067, allocations: 19.92 kB / 0.7283 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2067, allocations: 0 / 0.7283 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.2068, allocations: 11.98 kB / 0.7283 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2068, allocations: 0 / 0.7283 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2068, allocations: 4.094 kB / 0.7283 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000858/0.2076, allocations: 0.529 MB / 0.7288 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.2077, allocations: 27.83 kB / 0.7288 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.2077, allocations: 4 kB / 0.7288 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2078, allocations: 15.98 kB / 0.7288 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.2079, allocations: 27.89 kB / 0.7289 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.2079, allocations: 7.984 kB / 0.7289 GB, free: 4.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002284/0.2081, allocations: 201.2 kB / 0.7291 GB, free: 3.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2081, allocations: 4.062 kB / 0.7291 GB, free: 3.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003078/0.2084, allocations: 63.83 kB / 0.7291 GB, free: 3.84 MB / 0.545 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.001252/0.2097, allocations: 1.088 MB / 0.7302 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.2103, allocations: 322.9 kB / 0.7305 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2103, allocations: 4 kB / 0.7305 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.2105, allocations: 192.9 kB / 0.7307 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2108, allocations: 32.48 kB / 0.7307 GB, free: 2.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.2145, allocations: 2.933 MB / 0.7336 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2147, allocations: 136.8 kB / 0.7337 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.6e-05/0.2148, allocations: 21.47 kB / 0.7337 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2149, allocations: 75.42 kB / 0.7338 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.2149, allocations: 0 / 0.7338 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.2508, allocations: 6.114 MB / 0.7398 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.35, allocations: 7.344 kB / 0.7398 GB, free: 8.871 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.699017524253577] Failed to read output from testmodel.py, exit status != 0: 11.461279349867254 11.814649413 11.613430429 Calling exit ...