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.006985/0.006985, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.281 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 1.061/1.061, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 59.91 kB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4064, allocations: 82.04 MB / 0.6751 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002419/0.4089, allocations: 1.222 MB / 0.6763 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.4103, allocations: 0.7343 MB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.4105, allocations: 7.438 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.4111, allocations: 257.3 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006975/0.4118, allocations: 249.5 kB / 0.6775 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.4126, allocations: 266.4 kB / 0.6778 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.4132, allocations: 373.5 kB / 0.6781 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.4135, allocations: 78.78 kB / 0.6782 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.4137, allocations: 160.5 kB / 0.6784 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.4141, allocations: 247.8 kB / 0.6786 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.4141, allocations: 16.38 kB / 0.6786 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.4143, allocations: 50.72 kB / 0.6787 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.4145, allocations: 161.5 kB / 0.6788 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.4147, allocations: 196.8 kB / 0.679 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.4152, allocations: 490 kB / 0.6795 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4152, allocations: 0 / 0.6795 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4153, allocations: 0 / 0.6795 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4153, allocations: 0 / 0.6795 GB, free: 14.06 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.001609/0.4169, allocations: 0.9435 MB / 0.6804 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.417, allocations: 10 kB / 0.6804 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.417, allocations: 51.22 kB / 0.6805 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.4172, allocations: 71.33 kB / 0.6805 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008128/0.418, allocations: 490.1 kB / 0.681 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.418, allocations: 8.703 kB / 0.681 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.4181, allocations: 10.94 kB / 0.681 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.4188, allocations: 299.5 kB / 0.6813 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4188, allocations: 0 / 0.6813 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.4188, allocations: 2.281 kB / 0.6813 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.4189, allocations: 17.86 kB / 0.6813 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4201, allocations: 411 kB / 0.6817 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.4214, allocations: 0.877 MB / 0.6826 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.4227, allocations: 487.2 kB / 0.683 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.4232, allocations: 204.5 kB / 0.6832 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.4233, allocations: 8.953 kB / 0.6832 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.4233, allocations: 35.94 kB / 0.6833 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.4233, allocations: 4 kB / 0.6833 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001719/0.425, allocations: 0.6077 MB / 0.6839 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4251, allocations: 83.92 kB / 0.6839 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.4261, allocations: 0.8959 MB / 0.6848 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4262, allocations: 31.02 kB / 0.6849 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.4264, allocations: 278 kB / 0.6851 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.4265, allocations: 68.22 kB / 0.6852 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.4266, allocations: 47.5 kB / 0.6852 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4267, allocations: 375.3 kB / 0.6856 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.4272, allocations: 181.8 kB / 0.6858 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.4277, allocations: 198.9 kB / 0.6859 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.4286, allocations: 317.8 kB / 0.6863 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4286, allocations: 0 / 0.6863 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001106/0.4297, allocations: 444.4 kB / 0.6867 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4298, allocations: 7.594 kB / 0.6867 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4298, allocations: 1.25 kB / 0.6867 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4298, allocations: 5.188 kB / 0.6867 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.4302, allocations: 75.38 kB / 0.6868 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4302, allocations: 5.469 kB / 0.6868 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.4305, allocations: 53.09 kB / 0.6868 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.4305, allocations: 9.547 kB / 0.6868 GB, free: 9.102 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.0002833/0.4308, allocations: 239.5 kB / 0.6871 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.431, allocations: 64.2 kB / 0.6871 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.4322, allocations: 0.489 MB / 0.6876 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4322, allocations: 3.75 kB / 0.6876 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4322, allocations: 3.938 kB / 0.6876 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4323, allocations: 5.047 kB / 0.6876 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.4329, allocations: 489 kB / 0.6881 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4329, allocations: 0 / 0.6881 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.4333, allocations: 78.39 kB / 0.6881 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4333, allocations: 4 kB / 0.6882 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.4333, allocations: 15.86 kB / 0.6882 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4334, allocations: 0 / 0.6882 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.4334, allocations: 0 / 0.6882 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.4345, allocations: 0.6088 MB / 0.6888 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4347, allocations: 146.3 kB / 0.6889 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.4348, allocations: 9.344 kB / 0.6889 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.4351, allocations: 43.39 kB / 0.6889 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.4353, allocations: 91.69 kB / 0.689 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.4353, allocations: 5.906 kB / 0.689 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008483/0.4362, allocations: 0.6513 MB / 0.6897 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4362, allocations: 0 / 0.6897 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004265/0.4366, allocations: 63.95 kB / 0.6897 GB, free: 7.121 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.002146/0.4388, allocations: 1.421 MB / 0.6911 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.4399, allocations: 395.6 kB / 0.6915 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4399, allocations: 0 / 0.6915 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.4405, allocations: 247.7 kB / 0.6917 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.4411, allocations: 78.42 kB / 0.6918 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/0.449, allocations: 5.475 MB / 0.6972 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.4494, allocations: 0.889 MB / 0.698 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002921/0.4497, allocations: 118.8 kB / 0.6981 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.45, allocations: 191.4 kB / 0.6983 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.45, allocations: 0 / 0.6983 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.4813, allocations: 11.73 MB / 0.7098 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.721/9.202, allocations: 4.875 kB / 0.7098 GB, free: 2.75 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)