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.001016/0.001016, 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.001144/0.001144, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9696/0.9696, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.5586/0.5586, allocations: 110.3 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.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.124e-06/2.124e-06, allocations: 0 / 0.5472 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.341e-05, allocations: 6.188 kB / 0.5472 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.00269/0.002714, allocations: 1.191 MB / 0.5484 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.004309, allocations: 0.8685 MB / 0.5492 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.004512, allocations: 7.938 kB / 0.5492 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.005096, allocations: 263 kB / 0.5495 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009419/0.006038, allocations: 318.7 kB / 0.5498 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.006692, allocations: 273.1 kB / 0.5501 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006049/0.007297, allocations: 434.8 kB / 0.5505 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.007537, allocations: 49.14 kB / 0.5505 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.007791, allocations: 215.4 kB / 0.5507 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.008087, allocations: 255.4 kB / 0.551 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.008132, allocations: 16 kB / 0.551 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.008269, allocations: 51.92 kB / 0.551 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.008432, allocations: 175.4 kB / 0.5512 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.008535, allocations: 99.5 kB / 0.5513 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.009113, allocations: 482.3 kB / 0.5518 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.009118, allocations: 4 kB / 0.5518 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.292e-06/0.009119, allocations: 4 kB / 0.5518 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.009128, allocations: 0 / 0.5518 GB, free: 5.207 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.001308/0.01044, allocations: 0.8886 MB / 0.5526 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.0105, allocations: 12.56 kB / 0.5526 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.227e-05/0.01056, allocations: 54.66 kB / 0.5527 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/0.01065, allocations: 64.52 kB / 0.5528 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.01119, allocations: 446.3 kB / 0.5532 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01122, allocations: 12.31 kB / 0.5532 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.01124, allocations: 8.375 kB / 0.5532 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.01175, allocations: 297.1 kB / 0.5535 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01177, allocations: 4.188 kB / 0.5535 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.01179, allocations: 7.938 kB / 0.5535 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.01182, allocations: 16 kB / 0.5535 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.01256, allocations: 405.8 kB / 0.5539 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01371, allocations: 0.7962 MB / 0.5547 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.01453, allocations: 472.8 kB / 0.5551 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.01484, allocations: 197.6 kB / 0.5553 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.01489, allocations: 4 kB / 0.5553 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.01492, allocations: 38.56 kB / 0.5554 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 3.677e-06/0.01493, allocations: 0 / 0.5554 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.001105/0.01603, allocations: 0.6147 MB / 0.556 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.0161, allocations: 81.11 kB / 0.556 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/0.01699, allocations: 0.9339 MB / 0.5569 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01702, allocations: 29.7 kB / 0.557 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.01719, allocations: 288.5 kB / 0.5572 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.01726, allocations: 71.34 kB / 0.5573 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.01733, allocations: 49.69 kB / 0.5574 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.01742, allocations: 314 kB / 0.5577 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.01769, allocations: 171.8 kB / 0.5578 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.01797, allocations: 203.2 kB / 0.558 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.01845, allocations: 321.4 kB / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01845, allocations: 0 / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006185/0.01907, allocations: 444.8 kB / 0.5587 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.01909, allocations: 4 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.0191, allocations: 4 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.01911, allocations: 7.938 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.01935, allocations: 75.91 kB / 0.5588 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01936, allocations: 3.938 kB / 0.5588 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01948, allocations: 47.84 kB / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.0195, allocations: 23.97 kB / 0.5589 GB, free: 13.65 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.0002282/0.01973, allocations: 245.7 kB / 0.5591 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.0198, allocations: 67.53 kB / 0.5592 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.02058, allocations: 0.491 MB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.02059, allocations: 4 kB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.02059, allocations: 0 / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.0206, allocations: 3.938 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.02106, allocations: 416.4 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02107, allocations: 8 kB / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.02125, allocations: 75.86 kB / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.02125, allocations: 0 / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.02127, allocations: 7.984 kB / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.02127, allocations: 4 kB / 0.5602 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02127, allocations: 0 / 0.5602 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.02198, allocations: 0.6138 MB / 0.5608 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/0.02206, allocations: 67.5 kB / 0.5608 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.02209, allocations: 12 kB / 0.5609 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.02224, allocations: 39.95 kB / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.02239, allocations: 99.77 kB / 0.561 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.02243, allocations: 15.92 kB / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005951/0.02302, allocations: 0.6708 MB / 0.5617 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.02302, allocations: 0 / 0.5617 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002587/0.02328, allocations: 67.89 kB / 0.5617 GB, free: 10.69 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.001718/0.025, allocations: 1.443 MB / 0.5631 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006297/0.02563, allocations: 379.6 kB / 0.5635 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.02563, allocations: 8 kB / 0.5635 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.02596, allocations: 236.3 kB / 0.5637 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.02638, allocations: 89.16 kB / 0.5638 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.03237, allocations: 5.617 MB / 0.5693 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.03261, allocations: 303.5 kB / 0.5696 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.03281, allocations: 111.2 kB / 0.5697 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.03302, allocations: 212.4 kB / 0.5699 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/0.03302, allocations: 3.938 kB / 0.5699 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04102/0.07405, allocations: 13.1 MB / 0.5827 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.015, allocations: 7.281 kB / 0.5827 GB, free: 5.348 MB / 0.5417 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample_fmu --startTime=0 --stopTime=864000 --stepSize=60 --timeout=50 --tolerance=1e-06 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.790514997206628] Failed to read output from testmodel.py, exit status != 0: 8.121145696379244 8.129438305 8.118521952 Calling exit ...