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.001162/0.001162, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0012/0.0012, allocations: 190.2 kB / 16.25 MB, free: 6.625 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.184/1.184, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.8663/0.8663, allocations: 143 MB / 433.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.91 kB / 0.5138 GB, free: 11.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 82.04 MB / 0.5939 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002256/0.1311, allocations: 1.285 MB / 0.5951 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1321, allocations: 0.7175 MB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.1322, allocations: 0 / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.1326, allocations: 251.3 kB / 0.5961 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.133, allocations: 223.4 kB / 0.5963 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.1335, allocations: 254.7 kB / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1338, allocations: 371.1 kB / 0.5969 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.134, allocations: 72.92 kB / 0.597 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1341, allocations: 167.3 kB / 0.5971 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1344, allocations: 247.1 kB / 0.5974 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.1344, allocations: 20 kB / 0.5974 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.1345, allocations: 51.98 kB / 0.5974 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1346, allocations: 167.4 kB / 0.5976 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1348, allocations: 194.5 kB / 0.5978 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.1351, allocations: 474.2 kB / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1351, allocations: 0 / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1351, allocations: 0 / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1351, allocations: 0 / 0.5982 GB, free: 5.418 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.001149/0.1363, allocations: 0.9176 MB / 0.5991 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1363, allocations: 12.03 kB / 0.5991 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.1364, allocations: 50.67 kB / 0.5992 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.748e-05/0.1365, allocations: 64.19 kB / 0.5992 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.1369, allocations: 488.3 kB / 0.5997 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.137, allocations: 12.38 kB / 0.5997 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.137, allocations: 12.31 kB / 0.5997 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.1376, allocations: 292.5 kB / 0.6 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1376, allocations: 4 kB / 0.6 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.1376, allocations: 11.98 kB / 0.6 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.1377, allocations: 11.98 kB / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009338/0.1386, allocations: 415.4 kB / 0.6004 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.1396, allocations: 0.8712 MB / 0.6013 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.1407, allocations: 480.8 kB / 0.6017 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.1411, allocations: 201.6 kB / 0.6019 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.1411, allocations: 4 kB / 0.6019 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1412, allocations: 50.48 kB / 0.602 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.313e-06/0.1412, allocations: 3.938 kB / 0.602 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001389/0.1426, allocations: 0.6064 MB / 0.6026 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1426, allocations: 81.11 kB / 0.6027 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2072/0.3498, allocations: 0.896 MB / 0.6035 GB, free: 44.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.3499, allocations: 31.45 kB / 0.6036 GB, free: 44.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.35, allocations: 273.2 kB / 0.6038 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.3501, allocations: 66.19 kB / 0.6039 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.3502, allocations: 48.06 kB / 0.6039 GB, free: 44.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.3502, allocations: 376.4 kB / 0.6043 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.3506, allocations: 173.2 kB / 0.6045 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.351, allocations: 196.6 kB / 0.6046 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.3517, allocations: 314.7 kB / 0.6049 GB, free: 44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3517, allocations: 0.5 kB / 0.6049 GB, free: 44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008218/0.3525, allocations: 440.7 kB / 0.6054 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3526, allocations: 5.938 kB / 0.6054 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3526, allocations: 3 kB / 0.6054 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3526, allocations: 4.25 kB / 0.6054 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.3529, allocations: 83.83 kB / 0.6055 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3529, allocations: 2.938 kB / 0.6055 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.3532, allocations: 47.09 kB / 0.6055 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3532, allocations: 11.7 kB / 0.6055 GB, free: 43.97 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.0001829/0.3534, allocations: 245.4 kB / 0.6058 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.3535, allocations: 60.69 kB / 0.6058 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009307/0.3544, allocations: 0.4885 MB / 0.6063 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3544, allocations: 7.031 kB / 0.6063 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3544, allocations: 0 / 0.6063 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3544, allocations: 0 / 0.6063 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.3548, allocations: 483.9 kB / 0.6068 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3548, allocations: 3.422 kB / 0.6068 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.3551, allocations: 74.77 kB / 0.6068 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3551, allocations: 2.812 kB / 0.6068 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3552, allocations: 10.47 kB / 0.6068 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3552, allocations: 4.125 kB / 0.6068 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3552, allocations: 3.969 kB / 0.6068 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.356, allocations: 0.599 MB / 0.6074 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.3561, allocations: 142.2 kB / 0.6076 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.3561, allocations: 10.22 kB / 0.6076 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.3564, allocations: 44.05 kB / 0.6076 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.3566, allocations: 94.58 kB / 0.6077 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3566, allocations: 7.094 kB / 0.6077 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004804/0.3571, allocations: 0.6462 MB / 0.6083 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3571, allocations: 1.094 kB / 0.6083 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003254/0.3574, allocations: 61.34 kB / 0.6084 GB, free: 43.12 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.00158/0.359, allocations: 1.418 MB / 0.6098 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008279/0.3598, allocations: 424.2 kB / 0.6102 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3599, allocations: 0 / 0.6102 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.3603, allocations: 247.2 kB / 0.6104 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.3608, allocations: 78.31 kB / 0.6105 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/0.3665, allocations: 5.718 MB / 0.6161 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3667, allocations: 0.8972 MB / 0.617 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.3669, allocations: 101.2 kB / 0.6171 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.3671, allocations: 196 kB / 0.6173 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.3671, allocations: 2.938 kB / 0.6173 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.3844, allocations: 10.91 MB / 0.6279 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.3846, allocations: 263.6 kB / 0.6282 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.09, allocations: 2.812 kB / 0.6282 GB, free: 37.14 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)