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.001222/0.001222, 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.001946/0.001946, allocations: 165.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.188/1.188, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.6465/0.6465, 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 2.705e-06/2.705e-06, allocations: 0 / 0.5472 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.52e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.003885/0.00392, allocations: 1.195 MB / 0.5484 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.005228, allocations: 0.8607 MB / 0.5492 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.00541, allocations: 4 kB / 0.5492 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.005917, allocations: 270.9 kB / 0.5495 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008679/0.006784, allocations: 318.7 kB / 0.5498 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.007383, allocations: 271.1 kB / 0.5501 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.008023, allocations: 430.8 kB / 0.5505 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.008263, allocations: 53.12 kB / 0.5505 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.008601, allocations: 215.3 kB / 0.5507 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.008926, allocations: 243.5 kB / 0.551 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.008982, allocations: 20 kB / 0.551 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.009149, allocations: 55.91 kB / 0.551 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.009312, allocations: 183.3 kB / 0.5512 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.009409, allocations: 95.53 kB / 0.5513 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009064/0.01032, allocations: 486.2 kB / 0.5518 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.862e-06/0.01032, allocations: 0 / 0.5518 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/0.01032, allocations: 4 kB / 0.5518 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.01033, allocations: 0 / 0.5518 GB, free: 5.219 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.001265/0.0116, allocations: 0.8925 MB / 0.5526 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.01166, allocations: 8.031 kB / 0.5526 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.01171, allocations: 50.67 kB / 0.5527 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.01183, allocations: 64.52 kB / 0.5527 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.01238, allocations: 454.3 kB / 0.5532 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.0124, allocations: 4.375 kB / 0.5532 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.01242, allocations: 12.38 kB / 0.5532 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.0129, allocations: 297.1 kB / 0.5535 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.01291, allocations: 4.125 kB / 0.5535 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.01294, allocations: 3.938 kB / 0.5535 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.01297, allocations: 20 kB / 0.5535 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.01369, allocations: 403.5 kB / 0.5539 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.01481, allocations: 0.7962 MB / 0.5547 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.01555, allocations: 472.7 kB / 0.5551 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.01582, allocations: 197.5 kB / 0.5553 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.01587, allocations: 4 kB / 0.5553 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.01589, allocations: 42.69 kB / 0.5554 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.906e-06/0.0159, allocations: 0 / 0.5554 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.001016/0.01691, allocations: 0.6107 MB / 0.5559 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.01697, allocations: 85.11 kB / 0.556 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.01781, allocations: 0.9299 MB / 0.5569 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.01784, allocations: 33.7 kB / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.018, allocations: 288.5 kB / 0.5572 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.01807, allocations: 67.44 kB / 0.5573 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.01814, allocations: 45.69 kB / 0.5574 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.01824, allocations: 318 kB / 0.5577 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.01851, allocations: 167.8 kB / 0.5578 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.01877, allocations: 207.2 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.01922, allocations: 321.4 kB / 0.5583 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01923, allocations: 0 / 0.5583 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009395/0.02017, allocations: 440.9 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.02019, allocations: 11.98 kB / 0.5588 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.0202, allocations: 4 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.02022, allocations: 0 / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.02046, allocations: 79.8 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.02047, allocations: 3.938 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.02063, allocations: 51.84 kB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.02065, allocations: 11.98 kB / 0.5589 GB, free: 13.67 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.0002528/0.0209, allocations: 245.7 kB / 0.5591 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.02099, allocations: 67.53 kB / 0.5592 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007941/0.02178, allocations: 0.4912 MB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.02179, allocations: 3.938 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.0218, allocations: 0 / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.02181, allocations: 7.938 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.02228, allocations: 416.4 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.02229, allocations: 7.938 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.02249, allocations: 75.92 kB / 0.5602 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.02249, allocations: 3.984 kB / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.02251, allocations: 4 kB / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.02251, allocations: 0 / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02252, allocations: 0 / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/0.02325, allocations: 0.6226 MB / 0.5608 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.02337, allocations: 75.5 kB / 0.5609 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.02341, allocations: 8 kB / 0.5609 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.02358, allocations: 43.94 kB / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.02374, allocations: 95.78 kB / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.02376, allocations: 7.984 kB / 0.561 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005968/0.02435, allocations: 0.6747 MB / 0.5617 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.02435, allocations: 0 / 0.5617 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003295/0.02468, allocations: 71.88 kB / 0.5617 GB, free: 10.7 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.001742/0.02643, allocations: 1.437 MB / 0.5631 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006686/0.02709, allocations: 387.6 kB / 0.5635 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.0271, allocations: 0 / 0.5635 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.02742, allocations: 239.7 kB / 0.5637 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.02791, allocations: 82.95 kB / 0.5638 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/0.03455, allocations: 5.625 MB / 0.5693 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.0348, allocations: 299.6 kB / 0.5696 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000231/0.03503, allocations: 115.1 kB / 0.5697 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.03526, allocations: 208.4 kB / 0.5699 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/0.03526, allocations: 0 / 0.5699 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.08044, allocations: 13.1 MB / 0.5827 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.53, allocations: 7.484 kB / 0.5827 GB, free: 5.363 MB / 0.5417 GB " [Timeout remaining time 649] (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: 14.063960305415094] Failed to read output from testmodel.py, exit status != 0: 10.640374730341136 10.648390995 10.636225924 Calling exit ...