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.0008265/0.0008265, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004667/0.004667, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.168/1.168, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.8594/0.8594, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002633, allocations: 8.281 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1263, allocations: 83.42 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.001336/0.1277, allocations: 0.9232 MB / 0.5989 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1289, allocations: 0.7097 MB / 0.5995 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.129, allocations: 0 / 0.5995 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.1294, allocations: 251.4 kB / 0.5998 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.1298, allocations: 219.4 kB / 0.6 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.1303, allocations: 246.8 kB / 0.6002 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.1307, allocations: 347.1 kB / 0.6006 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1309, allocations: 72.92 kB / 0.6006 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.131, allocations: 135.3 kB / 0.6008 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1313, allocations: 235.1 kB / 0.601 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.1313, allocations: 8 kB / 0.601 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.1314, allocations: 36 kB / 0.601 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1316, allocations: 159.4 kB / 0.6012 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1317, allocations: 200.2 kB / 0.6014 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1321, allocations: 458.1 kB / 0.6018 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1321, allocations: 0 / 0.6018 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1321, allocations: 0 / 0.6018 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1321, allocations: 0 / 0.6018 GB, free: 3.625 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.001202/0.1333, allocations: 0.8869 MB / 0.6027 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1333, allocations: 8.031 kB / 0.6027 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.1334, allocations: 46.73 kB / 0.6027 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.1335, allocations: 68.17 kB / 0.6028 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.134, allocations: 484.4 kB / 0.6033 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.134, allocations: 8.375 kB / 0.6033 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.134, allocations: 12.31 kB / 0.6033 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.1347, allocations: 332.5 kB / 0.6036 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1347, allocations: 0 / 0.6036 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.1347, allocations: 8 kB / 0.6036 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.1348, allocations: 11.98 kB / 0.6036 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1358, allocations: 483.4 kB / 0.6041 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1369, allocations: 0.8751 MB / 0.6049 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2045/0.3413, allocations: 0.5681 MB / 0.6055 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.3418, allocations: 235.8 kB / 0.6057 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.3419, allocations: 3.75 kB / 0.6057 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.3419, allocations: 37.94 kB / 0.6057 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.764e-06/0.3419, allocations: 0 / 0.6057 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001469/0.3434, allocations: 0.7174 MB / 0.6064 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3434, allocations: 79.89 kB / 0.6065 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/0.3441, allocations: 0.8939 MB / 0.6074 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3442, allocations: 31.7 kB / 0.6074 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3443, allocations: 277.5 kB / 0.6077 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.3444, allocations: 64.31 kB / 0.6078 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3444, allocations: 27.28 kB / 0.6078 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.3445, allocations: 372.4 kB / 0.6081 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.3449, allocations: 214 kB / 0.6083 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.3453, allocations: 227.3 kB / 0.6086 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.3461, allocations: 392.8 kB / 0.6089 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3461, allocations: 0 / 0.6089 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009031/0.347, allocations: 0.4975 MB / 0.6094 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.347, allocations: 5.875 kB / 0.6094 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3471, allocations: 0 / 0.6094 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3471, allocations: 2.875 kB / 0.6094 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.3474, allocations: 94.47 kB / 0.6095 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3474, allocations: 0 / 0.6095 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.3477, allocations: 75.75 kB / 0.6096 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3477, allocations: 9.109 kB / 0.6096 GB, free: 40 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.0001823/0.3479, allocations: 248.5 kB / 0.6098 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.348, allocations: 60.53 kB / 0.6099 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.349, allocations: 0.5493 MB / 0.6104 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.349, allocations: 3.422 kB / 0.6104 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.349, allocations: 0 / 0.6104 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3491, allocations: 1.406 kB / 0.6104 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.3495, allocations: 489.9 kB / 0.6109 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3495, allocations: 0 / 0.6109 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.3498, allocations: 95.69 kB / 0.611 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3498, allocations: 0.5625 kB / 0.611 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3498, allocations: 13.27 kB / 0.611 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3498, allocations: 2.953 kB / 0.611 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3498, allocations: 2.875 kB / 0.611 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.3508, allocations: 0.674 MB / 0.6117 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.3509, allocations: 153 kB / 0.6118 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.3509, allocations: 6.688 kB / 0.6118 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.3512, allocations: 61.98 kB / 0.6119 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.3514, allocations: 88.88 kB / 0.612 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3514, allocations: 9.281 kB / 0.612 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004902/0.3519, allocations: 0.6435 MB / 0.6126 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3519, allocations: 0.6562 kB / 0.6126 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003195/0.3522, allocations: 64.89 kB / 0.6127 GB, free: 39.11 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.0017/0.3539, allocations: 1.487 MB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008956/0.3548, allocations: 464.5 kB / 0.6146 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3548, allocations: 0 / 0.6146 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.3553, allocations: 283.8 kB / 0.6148 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.3559, allocations: 75.39 kB / 0.6149 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.362, allocations: 5.893 MB / 0.6207 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3623, allocations: 0.8889 MB / 0.6215 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.3625, allocations: 99.5 kB / 0.6216 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.3627, allocations: 191 kB / 0.6218 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.3627, allocations: 0 / 0.6218 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.481/1.843, allocations: 10.38 MB / 0.6319 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.844, allocations: 273.5 kB / 0.6322 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/3.542, allocations: 0 / 0.6322 GB, free: 34.45 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)