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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009246/0.0009247, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.857/0.857, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 63.89 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1258, allocations: 82.04 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002297/0.1281, allocations: 1.22 MB / 0.5956 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1292, allocations: 0.7368 MB / 0.5963 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1293, allocations: 4 kB / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.1297, allocations: 255.2 kB / 0.5965 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000437/0.1302, allocations: 243.2 kB / 0.5968 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1306, allocations: 270.2 kB / 0.597 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.131, allocations: 371.1 kB / 0.5974 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1311, allocations: 72.88 kB / 0.5974 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1313, allocations: 159.4 kB / 0.5976 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1315, allocations: 251.1 kB / 0.5978 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.1316, allocations: 16 kB / 0.5979 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.1317, allocations: 43.98 kB / 0.5979 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1318, allocations: 167.4 kB / 0.5981 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1319, allocations: 186.5 kB / 0.5982 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.1323, allocations: 482.2 kB / 0.5987 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1323, allocations: 3.938 kB / 0.5987 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1323, allocations: 0 / 0.5987 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.1324, allocations: 0 / 0.5987 GB, free: 5.09 MB / 0.4981 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.001179/0.1335, allocations: 0.9098 MB / 0.5996 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1336, allocations: 12.03 kB / 0.5996 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.1336, allocations: 54.66 kB / 0.5997 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.1337, allocations: 64.19 kB / 0.5997 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.1342, allocations: 488.4 kB / 0.6002 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1342, allocations: 12.25 kB / 0.6002 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1342, allocations: 12.38 kB / 0.6002 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.1349, allocations: 296.5 kB / 0.6005 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1349, allocations: 0 / 0.6005 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1349, allocations: 4 kB / 0.6005 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.1349, allocations: 15.98 kB / 0.6005 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009419/0.1359, allocations: 415.4 kB / 0.6009 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009624/0.1368, allocations: 0.8751 MB / 0.6018 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.138, allocations: 492.7 kB / 0.6022 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.1385, allocations: 201.6 kB / 0.6024 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1385, allocations: 0 / 0.6024 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1385, allocations: 42.56 kB / 0.6025 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 2.255e-06/0.1385, allocations: 0 / 0.6025 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001453/0.14, allocations: 0.606 MB / 0.603 GB, free: 432 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.14, allocations: 89.11 kB / 0.6031 GB, free: 324 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.207/0.347, allocations: 0.8938 MB / 0.604 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.3471, allocations: 28.77 kB / 0.604 GB, free: 44.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3472, allocations: 273 kB / 0.6043 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.3473, allocations: 66.36 kB / 0.6044 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.3474, allocations: 49.08 kB / 0.6044 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.3474, allocations: 376.2 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.3478, allocations: 175.8 kB / 0.6049 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.3482, allocations: 194.4 kB / 0.6051 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.3489, allocations: 316.8 kB / 0.6054 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3489, allocations: 0 / 0.6054 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008539/0.3498, allocations: 445.1 kB / 0.6058 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3498, allocations: 5.25 kB / 0.6058 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3498, allocations: 0 / 0.6058 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3499, allocations: 9.688 kB / 0.6059 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.3502, allocations: 81.03 kB / 0.6059 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3502, allocations: 0 / 0.6059 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3504, allocations: 47.17 kB / 0.606 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.3505, allocations: 10.7 kB / 0.606 GB, free: 43.54 MB / 0.4981 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.0001673/0.3506, allocations: 248.7 kB / 0.6062 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.3507, allocations: 60.72 kB / 0.6063 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009603/0.3517, allocations: 496.5 kB / 0.6068 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3517, allocations: 2.594 kB / 0.6068 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3517, allocations: 3.375 kB / 0.6068 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3517, allocations: 3.906 kB / 0.6068 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.3521, allocations: 486.8 kB / 0.6072 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3521, allocations: 0 / 0.6072 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.3524, allocations: 74.41 kB / 0.6073 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3524, allocations: 2.625 kB / 0.6073 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3524, allocations: 17.5 kB / 0.6073 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3525, allocations: 0 / 0.6073 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3525, allocations: 0 / 0.6073 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008624/0.3533, allocations: 0.6069 MB / 0.6079 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.3534, allocations: 144.1 kB / 0.6081 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.3535, allocations: 10.44 kB / 0.6081 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3537, allocations: 39.25 kB / 0.6081 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3539, allocations: 92.45 kB / 0.6082 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3539, allocations: 8.984 kB / 0.6082 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004684/0.3544, allocations: 0.6475 MB / 0.6088 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3544, allocations: 3.625 kB / 0.6088 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003153/0.3547, allocations: 61.75 kB / 0.6089 GB, free: 42.7 MB / 0.4981 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.001614/0.3563, allocations: 1.411 MB / 0.6103 GB, free: 41.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008586/0.3572, allocations: 424.3 kB / 0.6107 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3572, allocations: 0 / 0.6107 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.3577, allocations: 248.9 kB / 0.6109 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.3582, allocations: 88.33 kB / 0.611 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.3636, allocations: 5.605 MB / 0.6165 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3639, allocations: 0.895 MB / 0.6173 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.3641, allocations: 102.4 kB / 0.6174 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.3643, allocations: 196.7 kB / 0.6176 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.3643, allocations: 4 kB / 0.6176 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3876, allocations: 11.53 MB / 0.6289 GB, free: 37.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/7.077, allocations: 11.52 kB / 0.6289 GB, free: 37.31 MB / 0.4981 GB (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)