Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.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.000942/0.000942, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001366/0.001366, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9326/0.9326, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.5682/0.5682, allocations: 110.2 MB / 369.4 MB, free: 12.64 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.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5472 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.502e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002153/0.002178, allocations: 1.202 MB / 0.5484 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.003331, allocations: 0.8685 MB / 0.5493 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.003442, allocations: 4 kB / 0.5493 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.003863, allocations: 255 kB / 0.5495 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.004415, allocations: 322.7 kB / 0.5498 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.004796, allocations: 269 kB / 0.5501 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.005162, allocations: 442.7 kB / 0.5505 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.00532, allocations: 41.16 kB / 0.5505 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.00551, allocations: 219.4 kB / 0.5507 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.005737, allocations: 247.4 kB / 0.551 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.005768, allocations: 20 kB / 0.551 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.005856, allocations: 51.92 kB / 0.551 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.005978, allocations: 175.4 kB / 0.5512 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.006055, allocations: 99.52 kB / 0.5513 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.006482, allocations: 486.2 kB / 0.5518 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006486, allocations: 0 / 0.5518 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.006487, allocations: 0 / 0.5518 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.006496, allocations: 0 / 0.5518 GB, free: 5.242 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.0009359/0.007432, allocations: 0.8925 MB / 0.5526 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.007473, allocations: 12.03 kB / 0.5526 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.007518, allocations: 50.67 kB / 0.5527 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.007587, allocations: 68.52 kB / 0.5528 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.008, allocations: 454.3 kB / 0.5532 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.008016, allocations: 8.375 kB / 0.5532 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.008038, allocations: 12.36 kB / 0.5532 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.008445, allocations: 293.1 kB / 0.5535 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.008454, allocations: 192 / 0.5535 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.008471, allocations: 19.88 kB / 0.5535 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.008493, allocations: 11.98 kB / 0.5535 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.009124, allocations: 403.5 kB / 0.5539 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.009949, allocations: 0.7923 MB / 0.5547 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.01063, allocations: 468.7 kB / 0.5551 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.01094, allocations: 197.6 kB / 0.5553 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.01098, allocations: 4 kB / 0.5553 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.01101, allocations: 46.67 kB / 0.5554 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.01101, allocations: 0 / 0.5554 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.000918/0.01193, allocations: 0.61 MB / 0.556 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.01197, allocations: 81.05 kB / 0.556 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.01266, allocations: 0.9338 MB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.01268, allocations: 33.7 kB / 0.557 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.01283, allocations: 288.5 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.01288, allocations: 71.36 kB / 0.5573 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.01295, allocations: 49.69 kB / 0.5574 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.01302, allocations: 314 kB / 0.5577 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.01327, allocations: 171.8 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.01354, allocations: 203.2 kB / 0.558 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.01397, allocations: 314.2 kB / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01397, allocations: 0 / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005599/0.01453, allocations: 452.8 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01455, allocations: 4 kB / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01455, allocations: 0 / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.01457, allocations: 0 / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.01478, allocations: 83.8 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01479, allocations: 7.938 kB / 0.5589 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01491, allocations: 51.83 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.01492, allocations: 4 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[5],fctEsc1.u[4],fctEsc1.u[3],fctEsc1.u[2],fctEsc1.u[1],fctEscPer1.u[5],fctEscPer1.u[4],fctEscPer1.u[3],fctEscPer1.u[2],fctEscPer1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001835/0.01511, allocations: 249.7 kB / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.01517, allocations: 75.47 kB / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.01583, allocations: 498.7 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01584, allocations: 4 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01584, allocations: 0 / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01585, allocations: 3.938 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.01623, allocations: 412.4 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01623, allocations: 0 / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.01652, allocations: 83.91 kB / 0.5602 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01652, allocations: 4 kB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01654, allocations: 4 kB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.01655, allocations: 8 kB / 0.5602 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01655, allocations: 0 / 0.5602 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.01717, allocations: 0.6149 MB / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.01724, allocations: 71.52 kB / 0.5609 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.01727, allocations: 7.984 kB / 0.5609 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.01742, allocations: 43.95 kB / 0.5609 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.01756, allocations: 95.77 kB / 0.561 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.01757, allocations: 8 kB / 0.561 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005065/0.01808, allocations: 0.6747 MB / 0.5617 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01808, allocations: 0 / 0.5617 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002416/0.01832, allocations: 71.89 kB / 0.5617 GB, free: 10.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.001459/0.01978, allocations: 1.442 MB / 0.5631 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.02035, allocations: 383.6 kB / 0.5635 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02035, allocations: 0 / 0.5635 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.02067, allocations: 247.6 kB / 0.5637 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.0211, allocations: 94.53 kB / 0.5638 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.02646, allocations: 5.621 MB / 0.5693 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.02669, allocations: 299.6 kB / 0.5696 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.02687, allocations: 111.1 kB / 0.5697 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.02707, allocations: 208.4 kB / 0.5699 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.02707, allocations: 4 kB / 0.5699 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.05255, allocations: 13.07 MB / 0.5827 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.249, allocations: 20.52 kB / 0.5827 GB, free: 5.375 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.130181983113289] Failed to read output from testmodel.py, exit status != 0: 7.35103197209537 7.362189579 7.353643071 Calling exit ...