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.001128/0.001128, allocations: 108 kB / 15.61 MB, free: 152 kB / 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: 196.1 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.9473/0.9473, allocations: 143.1 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002803/0.142, allocations: 1.232 MB / 0.5956 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1434, allocations: 0.729 MB / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.1436, allocations: 4 kB / 0.5963 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.1441, allocations: 251.2 kB / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.1447, allocations: 247.2 kB / 0.5968 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.1453, allocations: 270.3 kB / 0.597 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.1457, allocations: 371.1 kB / 0.5974 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1459, allocations: 64.95 kB / 0.5974 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.1462, allocations: 167.3 kB / 0.5976 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.1465, allocations: 239.2 kB / 0.5978 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.1466, allocations: 27.94 kB / 0.5979 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1467, allocations: 43.97 kB / 0.5979 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.1469, allocations: 163.5 kB / 0.5981 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.1471, allocations: 194.4 kB / 0.5982 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.1475, allocations: 470.3 kB / 0.5987 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1476, allocations: 0 / 0.5987 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.582e-06/0.1476, allocations: 3.938 kB / 0.5987 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.1476, allocations: 4 kB / 0.5987 GB, free: 5.074 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.00159/0.1492, allocations: 0.9175 MB / 0.5996 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1492, allocations: 8.031 kB / 0.5996 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/0.1493, allocations: 50.73 kB / 0.5997 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1494, allocations: 60.19 kB / 0.5997 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.15, allocations: 0.4886 MB / 0.6002 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.15, allocations: 4.375 kB / 0.6002 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1501, allocations: 16.31 kB / 0.6002 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.1507, allocations: 300.4 kB / 0.6005 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1508, allocations: 4 kB / 0.6005 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1508, allocations: 0 / 0.6005 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.1508, allocations: 19.98 kB / 0.6005 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1519, allocations: 411.4 kB / 0.6009 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1532, allocations: 0.8673 MB / 0.6018 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.1544, allocations: 488.7 kB / 0.6022 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.155, allocations: 205.7 kB / 0.6024 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.155, allocations: 7.984 kB / 0.6024 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.155, allocations: 38.56 kB / 0.6025 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.283e-06/0.155, allocations: 0 / 0.6025 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001624/0.1567, allocations: 0.6145 MB / 0.6031 GB, free: 404 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1567, allocations: 85.11 kB / 0.6031 GB, free: 300 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2385/0.3953, allocations: 0.8941 MB / 0.604 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.3954, allocations: 32.38 kB / 0.604 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3955, allocations: 270.7 kB / 0.6043 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.3956, allocations: 68.5 kB / 0.6044 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.3957, allocations: 44.5 kB / 0.6044 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.3958, allocations: 375.9 kB / 0.6048 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.3963, allocations: 176.6 kB / 0.6049 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.3967, allocations: 195.1 kB / 0.6051 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.3975, allocations: 315.3 kB / 0.6054 GB, free: 43.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3975, allocations: 0 / 0.6054 GB, free: 43.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009854/0.3985, allocations: 443.3 kB / 0.6058 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3985, allocations: 2.938 kB / 0.6059 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3985, allocations: 3.531 kB / 0.6059 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3986, allocations: 4.688 kB / 0.6059 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.3989, allocations: 80.81 kB / 0.6059 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.399, allocations: 2.812 kB / 0.6059 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3992, allocations: 46.52 kB / 0.606 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3992, allocations: 11.28 kB / 0.606 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.0001947/0.3994, allocations: 245.5 kB / 0.6062 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3996, allocations: 62.72 kB / 0.6063 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.4006, allocations: 498.6 kB / 0.6068 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4007, allocations: 2.781 kB / 0.6068 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4007, allocations: 0 / 0.6068 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4007, allocations: 3.812 kB / 0.6068 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.4011, allocations: 479.9 kB / 0.6072 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4011, allocations: 0 / 0.6072 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.4015, allocations: 81.16 kB / 0.6073 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.4015, allocations: 2.812 kB / 0.6073 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.4015, allocations: 6.625 kB / 0.6073 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4015, allocations: 3.438 kB / 0.6073 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4015, allocations: 0 / 0.6073 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/0.4025, allocations: 0.6068 MB / 0.6079 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.4026, allocations: 145.1 kB / 0.608 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.4027, allocations: 16.7 kB / 0.6081 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.403, allocations: 41.17 kB / 0.6081 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.4031, allocations: 87.34 kB / 0.6082 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4032, allocations: 8.578 kB / 0.6082 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005568/0.4037, allocations: 0.6517 MB / 0.6088 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.4037, allocations: 0 / 0.6088 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003639/0.4041, allocations: 66.27 kB / 0.6089 GB, free: 42.61 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.001823/0.4059, allocations: 1.41 MB / 0.6103 GB, free: 41.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009562/0.4069, allocations: 423.6 kB / 0.6107 GB, free: 41.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4069, allocations: 0 / 0.6107 GB, free: 41.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.4074, allocations: 248 kB / 0.6109 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.0005499/0.408, allocations: 83.06 kB / 0.611 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.4143, allocations: 5.606 MB / 0.6165 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4146, allocations: 0.8945 MB / 0.6173 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.4149, allocations: 100.8 kB / 0.6174 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.4151, allocations: 198.1 kB / 0.6176 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.4151, allocations: 4 kB / 0.6176 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.4417, allocations: 11.53 MB / 0.6289 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.918, allocations: 7.797 kB / 0.6289 GB, free: 37.22 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)