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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001319/0.001319, allocations: 112.5 kB / 15.73 MB, free: 76 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.001302/0.001302, allocations: 190.6 kB / 16.67 MB, free: 6.539 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.014/1.014, allocations: 143.3 MB / 433.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 0.5953 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3673, allocations: 82.02 MB / 0.6754 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002212/0.3695, allocations: 1.234 MB / 0.6766 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3708, allocations: 0.7392 MB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.371, allocations: 2.812 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.3715, allocations: 257.8 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005422/0.372, allocations: 244.3 kB / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.3726, allocations: 266.9 kB / 0.678 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.3731, allocations: 371.8 kB / 0.6784 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3733, allocations: 69.84 kB / 0.6784 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.3735, allocations: 168.3 kB / 0.6786 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.3738, allocations: 247.2 kB / 0.6788 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.3738, allocations: 17.31 kB / 0.6789 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.374, allocations: 49.62 kB / 0.6789 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.3742, allocations: 166.3 kB / 0.6791 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.3744, allocations: 192.5 kB / 0.6793 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.375, allocations: 489.4 kB / 0.6797 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.375, allocations: 1.062 kB / 0.6797 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.375, allocations: 0 / 0.6797 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.375, allocations: 0 / 0.6797 GB, free: 13.93 MB / 0.5137 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.001599/0.3767, allocations: 0.942 MB / 0.6806 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3767, allocations: 9.625 kB / 0.6806 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.3768, allocations: 47.2 kB / 0.6807 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.3769, allocations: 67.44 kB / 0.6808 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.3775, allocations: 497.2 kB / 0.6812 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3775, allocations: 9.094 kB / 0.6812 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3776, allocations: 7.438 kB / 0.6812 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.3783, allocations: 299 kB / 0.6815 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3783, allocations: 1.125 kB / 0.6815 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.3784, allocations: 8.938 kB / 0.6815 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.3784, allocations: 13.8 kB / 0.6816 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3796, allocations: 406.8 kB / 0.6819 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3809, allocations: 0.8775 MB / 0.6828 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.3823, allocations: 482.3 kB / 0.6833 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.3828, allocations: 210.6 kB / 0.6835 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.3829, allocations: 2.719 kB / 0.6835 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3829, allocations: 40.31 kB / 0.6835 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.3829, allocations: 5.281 kB / 0.6835 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001758/0.3847, allocations: 0.6154 MB / 0.6841 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.3848, allocations: 84.02 kB / 0.6842 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.3858, allocations: 0.8919 MB / 0.6851 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3859, allocations: 33.7 kB / 0.6851 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.3861, allocations: 278.7 kB / 0.6854 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.3862, allocations: 68.86 kB / 0.6854 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3863, allocations: 55.03 kB / 0.6855 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.3865, allocations: 371.9 kB / 0.6858 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.387, allocations: 181.7 kB / 0.686 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.3876, allocations: 196.8 kB / 0.6862 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/0.3885, allocations: 310.3 kB / 0.6865 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3885, allocations: 0 / 0.6865 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001126/0.3896, allocations: 449 kB / 0.6869 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3897, allocations: 4.844 kB / 0.6869 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3897, allocations: 1.406 kB / 0.6869 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3897, allocations: 5.25 kB / 0.6869 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.3901, allocations: 75.45 kB / 0.687 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3901, allocations: 5.312 kB / 0.687 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.3904, allocations: 53.05 kB / 0.6871 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3905, allocations: 4.469 kB / 0.6871 GB, free: 8.973 MB / 0.5137 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.0002617/0.3907, allocations: 251.3 kB / 0.6873 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3909, allocations: 62.55 kB / 0.6874 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.3921, allocations: 0.4984 MB / 0.6878 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3922, allocations: 2.688 kB / 0.6878 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3922, allocations: 1.375 kB / 0.6878 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3922, allocations: 3.984 kB / 0.6879 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.3928, allocations: 477.1 kB / 0.6883 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3928, allocations: 0 / 0.6883 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.3932, allocations: 81.42 kB / 0.6884 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3932, allocations: 4 kB / 0.6884 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3933, allocations: 11.52 kB / 0.6884 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3933, allocations: 0 / 0.6884 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3933, allocations: 1.781 kB / 0.6884 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.3945, allocations: 0.606 MB / 0.689 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.3946, allocations: 145.9 kB / 0.6891 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.3947, allocations: 10.69 kB / 0.6891 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.395, allocations: 42.73 kB / 0.6892 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.3952, allocations: 91.62 kB / 0.6893 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3953, allocations: 5.688 kB / 0.6893 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007734/0.3961, allocations: 0.6508 MB / 0.6899 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3961, allocations: 0 / 0.6899 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000398/0.3965, allocations: 63.95 kB / 0.69 GB, free: 6.898 MB / 0.5137 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.002789/0.3993, allocations: 1.419 MB / 0.6914 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.4004, allocations: 391.6 kB / 0.6917 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4004, allocations: 0 / 0.6917 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.4011, allocations: 256.2 kB / 0.692 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.4017, allocations: 89.61 kB / 0.6921 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/0.4103, allocations: 5.47 MB / 0.6974 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.4109, allocations: 0.889 MB / 0.6983 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.4112, allocations: 106.9 kB / 0.6984 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.4115, allocations: 203.3 kB / 0.6986 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.4115, allocations: 0 / 0.6986 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.4474, allocations: 11.73 MB / 0.71 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/9.133, allocations: 11.98 kB / 0.71 GB, free: 2.52 MB / 0.5294 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)