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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 211.3 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9651/0.9651, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002875/0.002875, allocations: 70.3 kB / 0.6331 GB, free: 6.777 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.181, allocations: 87.89 MB / 0.7189 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002841/0.1838, allocations: 1.18 MB / 0.72 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1855, allocations: 0.8735 MB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1856, allocations: 3.938 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.1861, allocations: 267.1 kB / 0.7212 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006837/0.1868, allocations: 318.9 kB / 0.7215 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.1874, allocations: 265.4 kB / 0.7217 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.1878, allocations: 430.8 kB / 0.7221 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.188, allocations: 45.12 kB / 0.7222 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1882, allocations: 179.2 kB / 0.7223 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.1885, allocations: 279 kB / 0.7226 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.1886, allocations: 20 kB / 0.7226 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1887, allocations: 48 kB / 0.7227 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.1889, allocations: 175.3 kB / 0.7228 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.189, allocations: 146.7 kB / 0.723 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.1896, allocations: 0.5133 MB / 0.7235 GB, free: 10.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1896, allocations: 0 / 0.7235 GB, free: 10.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1896, allocations: 0 / 0.7235 GB, free: 10.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.1896, allocations: 0 / 0.7235 GB, free: 10.19 MB / 0.545 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.001479/0.1911, allocations: 0.8925 MB / 0.7243 GB, free: 9.266 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1911, allocations: 8.031 kB / 0.7244 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.1912, allocations: 50.73 kB / 0.7244 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1913, allocations: 68.47 kB / 0.7245 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/0.192, allocations: 455.1 kB / 0.7249 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.192, allocations: 4.375 kB / 0.7249 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.192, allocations: 12.38 kB / 0.7249 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.1927, allocations: 300.4 kB / 0.7252 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1927, allocations: 0 / 0.7252 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1927, allocations: 7.984 kB / 0.7252 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.1928, allocations: 16 kB / 0.7252 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1939, allocations: 403.5 kB / 0.7256 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.1951, allocations: 0.7962 MB / 0.7264 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.1964, allocations: 468.7 kB / 0.7268 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.1968, allocations: 205.7 kB / 0.727 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.1969, allocations: 4 kB / 0.727 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1969, allocations: 34.56 kB / 0.7271 GB, free: 6.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.1969, allocations: 4 kB / 0.7271 GB, free: 6.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001617/0.1985, allocations: 0.6177 MB / 0.7277 GB, free: 5.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1986, allocations: 85.05 kB / 0.7278 GB, free: 5.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1997, allocations: 0.9261 MB / 0.7287 GB, free: 4.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1997, allocations: 29.7 kB / 0.7287 GB, free: 4.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.2, allocations: 288.5 kB / 0.729 GB, free: 4.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.2, allocations: 67.44 kB / 0.729 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.2001, allocations: 49.69 kB / 0.7291 GB, free: 4.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2002, allocations: 325.9 kB / 0.7294 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.2007, allocations: 167.8 kB / 0.7295 GB, free: 3.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.2012, allocations: 200.4 kB / 0.7297 GB, free: 3.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.202, allocations: 314.2 kB / 0.73 GB, free: 3.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.202, allocations: 0 / 0.73 GB, free: 3.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001047/0.2031, allocations: 444.8 kB / 0.7305 GB, free: 2.797 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2031, allocations: 15.92 kB / 0.7305 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2031, allocations: 4 kB / 0.7305 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2031, allocations: 7.875 kB / 0.7305 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.2035, allocations: 75.92 kB / 0.7306 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2035, allocations: 4 kB / 0.7306 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.2038, allocations: 47.84 kB / 0.7306 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.2038, allocations: 7.984 kB / 0.7306 GB, free: 2.637 MB / 0.545 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.0003347/0.2042, allocations: 251.6 kB / 0.7309 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2043, allocations: 71.52 kB / 0.7309 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.2056, allocations: 0.4985 MB / 0.7314 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2056, allocations: 0 / 0.7314 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.2056, allocations: 4 kB / 0.7314 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2056, allocations: 0 / 0.7314 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.2062, allocations: 420.4 kB / 0.7318 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2062, allocations: 0 / 0.7318 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.2066, allocations: 79.86 kB / 0.7319 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2066, allocations: 0 / 0.7319 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.2066, allocations: 15.92 kB / 0.7319 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2066, allocations: 0 / 0.7319 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2066, allocations: 0 / 0.7319 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2078, allocations: 0.6074 MB / 0.7325 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2079, allocations: 75.5 kB / 0.7326 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.208, allocations: 3.938 kB / 0.7326 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.2083, allocations: 47.94 kB / 0.7326 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.2085, allocations: 87.84 kB / 0.7327 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2085, allocations: 11.98 kB / 0.7327 GB, free: 412 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008624/0.2094, allocations: 0.6786 MB / 0.7334 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2094, allocations: 0 / 0.7334 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003895/0.2098, allocations: 63.89 kB / 0.7334 GB, free: 15.67 MB / 0.5606 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.002814/0.2126, allocations: 1.455 MB / 0.7349 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.2136, allocations: 399.4 kB / 0.7352 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2136, allocations: 0 / 0.7352 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.2142, allocations: 235.7 kB / 0.7355 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.2148, allocations: 73.59 kB / 0.7355 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.2231, allocations: 5.581 MB / 0.741 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2234, allocations: 299.6 kB / 0.7413 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002609/0.2237, allocations: 111.2 kB / 0.7414 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.224, allocations: 211.3 kB / 0.7416 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/0.224, allocations: 4 kB / 0.7416 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3813/0.6053, allocations: 12.95 MB / 0.7542 GB, free: 29.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.02, allocations: 3.953 kB / 0.7542 GB, free: 29.42 MB / 0.5606 GB " [Timeout remaining time 648] (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 --stepSize=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.15589502127841] Failed to read output from testmodel.py, exit status != 0: 12.18555985018611 12.197769254 12.005506996 Calling exit ...