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.005178/0.005178, allocations: 97.62 kB / 15.73 MB, free: 6.039 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.001379/0.001379, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.164 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 0.9977/0.9977, allocations: 143.3 MB / 433.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 68.14 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3499, allocations: 82.03 MB / 0.6754 GB, free: 1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.00211/0.352, allocations: 1.222 MB / 0.6766 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3533, allocations: 0.739 MB / 0.6773 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.3535, allocations: 2.625 kB / 0.6773 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.354, allocations: 257.4 kB / 0.6775 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006523/0.3547, allocations: 240.6 kB / 0.6778 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.3554, allocations: 275 kB / 0.678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.3559, allocations: 367.7 kB / 0.6784 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.3561, allocations: 69.84 kB / 0.6785 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3563, allocations: 164.4 kB / 0.6786 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.3565, allocations: 243.1 kB / 0.6788 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.3566, allocations: 17.34 kB / 0.6789 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3567, allocations: 54.55 kB / 0.6789 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.3569, allocations: 170.3 kB / 0.6791 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3571, allocations: 191.4 kB / 0.6793 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.3576, allocations: 486.5 kB / 0.6797 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3577, allocations: 0 / 0.6797 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3577, allocations: 0 / 0.6797 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3577, allocations: 0 / 0.6797 GB, free: 13.94 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.001464/0.3591, allocations: 0.9456 MB / 0.6806 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3592, allocations: 9.688 kB / 0.6807 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.3593, allocations: 52.2 kB / 0.6807 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3594, allocations: 71.59 kB / 0.6808 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.3599, allocations: 489.2 kB / 0.6812 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.36, allocations: 7.969 kB / 0.6812 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.36, allocations: 19.31 kB / 0.6813 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.3607, allocations: 292.1 kB / 0.6815 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3607, allocations: 0 / 0.6815 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.3607, allocations: 9.062 kB / 0.6816 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.3608, allocations: 14.95 kB / 0.6816 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.3619, allocations: 410.9 kB / 0.682 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.3631, allocations: 0.8725 MB / 0.6828 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.3643, allocations: 490.7 kB / 0.6833 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.3648, allocations: 206.4 kB / 0.6835 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.3649, allocations: 6.719 kB / 0.6835 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3649, allocations: 37.45 kB / 0.6835 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.3649, allocations: 0 / 0.6835 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001648/0.3666, allocations: 0.6121 MB / 0.6841 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.3667, allocations: 80.08 kB / 0.6842 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3677, allocations: 0.8916 MB / 0.6851 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.3677, allocations: 31.27 kB / 0.6851 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.3679, allocations: 278.8 kB / 0.6854 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.368, allocations: 67.77 kB / 0.6854 GB, free: 10 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.3681, allocations: 51.47 kB / 0.6855 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3683, allocations: 382.4 kB / 0.6858 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.3688, allocations: 178.8 kB / 0.686 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.3693, allocations: 194.1 kB / 0.6862 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.3701, allocations: 313.5 kB / 0.6865 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3701, allocations: 0 / 0.6865 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001045/0.3712, allocations: 444.5 kB / 0.6869 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3712, allocations: 7.75 kB / 0.6869 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3712, allocations: 4 kB / 0.6869 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3712, allocations: 10.67 kB / 0.6869 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.3716, allocations: 75.55 kB / 0.687 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3716, allocations: 5.156 kB / 0.687 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.3719, allocations: 49.28 kB / 0.6871 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3719, allocations: 16.48 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.0002399/0.3722, allocations: 240.8 kB / 0.6873 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3723, allocations: 60.23 kB / 0.6874 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3735, allocations: 0.4907 MB / 0.6878 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3735, allocations: 6.688 kB / 0.6879 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3735, allocations: 1.219 kB / 0.6879 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3735, allocations: 4 kB / 0.6879 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.3742, allocations: 481.8 kB / 0.6883 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3742, allocations: 0 / 0.6883 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.3745, allocations: 75.52 kB / 0.6884 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3745, allocations: 1.781 kB / 0.6884 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.3746, allocations: 15.52 kB / 0.6884 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3746, allocations: 4 kB / 0.6884 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3746, allocations: 1.781 kB / 0.6884 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.3757, allocations: 0.6149 MB / 0.689 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3758, allocations: 145.7 kB / 0.6891 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.3759, allocations: 6.688 kB / 0.6892 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.3762, allocations: 43.03 kB / 0.6892 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.3764, allocations: 91.33 kB / 0.6893 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.3764, allocations: 13.7 kB / 0.6893 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007187/0.3772, allocations: 0.6449 MB / 0.6899 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3772, allocations: 0 / 0.6899 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003668/0.3775, allocations: 59.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.002579/0.3801, allocations: 1.414 MB / 0.6914 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.3812, allocations: 404.4 kB / 0.6917 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3812, allocations: 0 / 0.6917 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.3818, allocations: 243.7 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.0005991/0.3824, allocations: 82 kB / 0.6921 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007816/0.3902, allocations: 5.474 MB / 0.6974 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.3908, allocations: 0.9006 MB / 0.6983 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000263/0.391, allocations: 102.9 kB / 0.6984 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.3913, allocations: 195.3 kB / 0.6986 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.3914, allocations: 4 kB / 0.6986 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.4257, allocations: 11.74 MB / 0.71 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.734, allocations: 16.47 kB / 0.7101 GB, free: 2.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)