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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001174/0.001174, allocations: 192.5 kB / 16.14 MB, free: 6.688 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.846/0.846, allocations: 143 MB / 433 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 59.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1218, allocations: 82.05 MB / 0.5937 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.00232/0.1241, allocations: 1.266 MB / 0.595 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1252, allocations: 0.733 MB / 0.5957 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.1253, allocations: 4 kB / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1257, allocations: 243.4 kB / 0.5959 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.126, allocations: 223.4 kB / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.1265, allocations: 253.4 kB / 0.5964 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.1268, allocations: 347.1 kB / 0.5967 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.127, allocations: 72.92 kB / 0.5968 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1271, allocations: 139.3 kB / 0.5969 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.1274, allocations: 251 kB / 0.5971 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.1274, allocations: 8 kB / 0.5971 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-05/0.1275, allocations: 32 kB / 0.5972 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1276, allocations: 159.5 kB / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1278, allocations: 186.4 kB / 0.5975 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.1282, allocations: 470.2 kB / 0.5979 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1282, allocations: 0 / 0.5979 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1282, allocations: 0 / 0.5979 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.1282, allocations: 3.938 kB / 0.598 GB, free: 5.633 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.001137/0.1293, allocations: 0.9215 MB / 0.5989 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1294, allocations: 8.031 kB / 0.5989 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1294, allocations: 46.69 kB / 0.5989 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.1295, allocations: 60.19 kB / 0.599 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.13, allocations: 488.3 kB / 0.5994 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.13, allocations: 8.375 kB / 0.5994 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.13, allocations: 12.38 kB / 0.5994 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.1306, allocations: 304.4 kB / 0.5997 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1306, allocations: 0 / 0.5997 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1307, allocations: 7.984 kB / 0.5997 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.1307, allocations: 19.98 kB / 0.5998 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009173/0.1316, allocations: 411.4 kB / 0.6002 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.1326, allocations: 0.8672 MB / 0.601 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1337, allocations: 488.9 kB / 0.6015 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.1341, allocations: 205.5 kB / 0.6017 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.1341, allocations: 7.938 kB / 0.6017 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1342, allocations: 30.56 kB / 0.6017 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.1342, allocations: 0 / 0.6017 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001355/0.1355, allocations: 0.6177 MB / 0.6023 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1356, allocations: 77.11 kB / 0.6024 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1983/0.3339, allocations: 0.8948 MB / 0.6033 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.3339, allocations: 31.86 kB / 0.6033 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3341, allocations: 271.6 kB / 0.6035 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.3342, allocations: 70.58 kB / 0.6036 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.3343, allocations: 45.89 kB / 0.6037 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.3344, allocations: 378.9 kB / 0.604 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.3348, allocations: 173.2 kB / 0.6042 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.3352, allocations: 199.4 kB / 0.6044 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.3358, allocations: 310.6 kB / 0.6047 GB, free: 43.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3358, allocations: 0.5625 kB / 0.6047 GB, free: 43.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000858/0.3367, allocations: 448.7 kB / 0.6051 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3367, allocations: 5.625 kB / 0.6051 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.3367, allocations: 0 / 0.6051 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3368, allocations: 6.469 kB / 0.6051 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.3371, allocations: 78.08 kB / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3371, allocations: 3.188 kB / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.3373, allocations: 49.47 kB / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3373, allocations: 6.344 kB / 0.6052 GB, free: 43.46 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.0001817/0.3375, allocations: 250.6 kB / 0.6055 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/0.3376, allocations: 64.61 kB / 0.6055 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009069/0.3385, allocations: 496.8 kB / 0.606 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3385, allocations: 4.469 kB / 0.606 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3386, allocations: 0 / 0.606 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3386, allocations: 3.219 kB / 0.606 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.339, allocations: 478.7 kB / 0.6065 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.339, allocations: 0 / 0.6065 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.3393, allocations: 78.44 kB / 0.6066 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3393, allocations: 2.406 kB / 0.6066 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3393, allocations: 12.75 kB / 0.6066 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3393, allocations: 0 / 0.6066 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3393, allocations: 5.25 kB / 0.6066 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.3401, allocations: 0.6058 MB / 0.6072 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.3402, allocations: 143.7 kB / 0.6073 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.3403, allocations: 10 kB / 0.6073 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3405, allocations: 43.55 kB / 0.6074 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3407, allocations: 89.66 kB / 0.6074 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.3407, allocations: 7.844 kB / 0.6074 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004919/0.3412, allocations: 0.6517 MB / 0.6081 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3412, allocations: 0 / 0.6081 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003172/0.3415, allocations: 60.41 kB / 0.6081 GB, free: 42.62 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.001532/0.3431, allocations: 1.416 MB / 0.6095 GB, free: 41.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007605/0.3438, allocations: 399.6 kB / 0.6099 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3438, allocations: 0 / 0.6099 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.3443, allocations: 251.9 kB / 0.6101 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3448, allocations: 71.48 kB / 0.6102 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/0.3504, allocations: 5.721 MB / 0.6158 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3506, allocations: 0.8907 MB / 0.6167 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001879/0.3508, allocations: 105.1 kB / 0.6168 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.351, allocations: 189.9 kB / 0.6169 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.351, allocations: 0 / 0.6169 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3674, allocations: 10.68 MB / 0.6274 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.3675, allocations: 280.9 kB / 0.6276 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.025, allocations: 0 / 0.6276 GB, free: 37.02 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 & /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)