Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001344/0.001344, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001565/0.001565, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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.156/1.156, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001643/0.001643, allocations: 241.9 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7991/0.7991, allocations: 138.4 MB / 454.3 MB, free: 1.656 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.406e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002244/0.002278, allocations: 1.263 MB / 0.6475 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.003271, allocations: 0.8165 MB / 0.6483 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.003349, allocations: 0 / 0.6483 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003451, allocations: 5.047 kB / 0.6484 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.003947, allocations: 12.64 kB / 0.6484 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.004058, allocations: 6.281 kB / 0.6484 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.004162, allocations: 16.7 kB / 0.6484 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.004233, allocations: 1.25 kB / 0.6484 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.004295, allocations: 2.375 kB / 0.6484 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.004426, allocations: 10.23 kB / 0.6484 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.00445, allocations: 0 / 0.6484 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.755e-05/0.004508, allocations: 12.8 kB / 0.6484 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.004597, allocations: 2.438 kB / 0.6484 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.004629, allocations: 1.094 kB / 0.6484 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004778, allocations: 14.45 kB / 0.6484 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.004783, allocations: 3.984 kB / 0.6484 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.965e-06/0.004786, allocations: 0 / 0.6484 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.004794, allocations: 5.156 kB / 0.6484 GB, free: 27.41 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004324/0.005226, allocations: 238 kB / 0.6487 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.005291, allocations: 9.781 kB / 0.6487 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.005328, allocations: 111 kB / 0.6488 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.005376, allocations: 81.38 kB / 0.6489 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.005493, allocations: 184.7 kB / 0.649 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.005526, allocations: 154.9 kB / 0.6492 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.005556, allocations: 152.4 kB / 0.6493 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.877e-05/0.005645, allocations: 102.9 kB / 0.6494 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.00568, allocations: 76.94 kB / 0.6495 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.005736, allocations: 154.9 kB / 0.6496 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.005765, allocations: 164 kB / 0.6498 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.005796, allocations: 152.4 kB / 0.6499 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.005982, allocations: 415.8 kB / 0.6503 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.365e-05/0.006045, allocations: 174.4 kB / 0.6505 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.006072, allocations: 81.64 kB / 0.6506 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.006089, allocations: 75.28 kB / 0.6507 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.006119, allocations: 108.4 kB / 0.6508 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.00612, allocations: 3.938 kB / 0.6508 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.691e-05/0.006197, allocations: 38.77 kB / 0.6508 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.006228, allocations: 131.9 kB / 0.6509 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.006303, allocations: 103.5 kB / 0.651 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.006308, allocations: 25.7 kB / 0.6511 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.006329, allocations: 81.2 kB / 0.6511 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.006332, allocations: 1.219 kB / 0.6511 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.006365, allocations: 15.02 kB / 0.6511 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.006469, allocations: 312.2 kB / 0.6514 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.006491, allocations: 4 kB / 0.6514 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.006515, allocations: 27.2 kB / 0.6515 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-06/0.006525, allocations: 76.72 kB / 0.6515 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.006531, allocations: 75.28 kB / 0.6516 GB, free: 24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.896e-05/0.00656, allocations: 32.89 kB / 0.6516 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.006578, allocations: 85.28 kB / 0.6517 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.006586, allocations: 75.28 kB / 0.6518 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.006612, allocations: 156.5 kB / 0.652 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-06/0.006621, allocations: 84.12 kB / 0.652 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.006635, allocations: 155.6 kB / 0.6522 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.224e-05/0.006727, allocations: 81.64 kB / 0.6523 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.006735, allocations: 84.61 kB / 0.6523 GB, free: 23.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 4.312e-05/0.006778, allocations: 259.6 kB / 0.6526 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.006803, allocations: 106.2 kB / 0.6527 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.006824, allocations: 126.2 kB / 0.6528 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.00684, allocations: 181.4 kB / 0.653 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.00686, allocations: 189.4 kB / 0.6532 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.006878, allocations: 181.7 kB / 0.6533 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.37e-05/0.006972, allocations: 371.8 kB / 0.6537 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.006988, allocations: 106.7 kB / 0.6538 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.007004, allocations: 105 kB / 0.6539 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.014e-05/0.007034, allocations: 186.4 kB / 0.6541 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.007064, allocations: 177.5 kB / 0.6542 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.211e-05/0.007096, allocations: 177.4 kB / 0.6544 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.014e-05/0.007127, allocations: 185.4 kB / 0.6546 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.007209, allocations: 313.5 kB / 0.6549 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.007238, allocations: 102.6 kB / 0.655 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.007278, allocations: 178.9 kB / 0.6552 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.007329, allocations: 106.1 kB / 0.6553 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.007363, allocations: 185.7 kB / 0.6554 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.007381, allocations: 110.1 kB / 0.6555 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.007422, allocations: 79.41 kB / 0.6556 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007422, allocations: 0 / 0.6556 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002147/0.007637, allocations: 6.531 kB / 0.6556 GB, free: 19.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005595/0.008196, allocations: 0.8223 MB / 0.6564 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.723e-05/0.008264, allocations: 5.938 kB / 0.6564 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008266, allocations: 0 / 0.6564 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.008267, allocations: 0 / 0.6564 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.008492, allocations: 459.2 kB / 0.6569 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.009684, allocations: 1.569 MB / 0.6584 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.347e-05/0.009738, allocations: 59.56 kB / 0.6585 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.009765, allocations: 4.094 kB / 0.6585 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.009804, allocations: 10.94 kB / 0.6585 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/0.009805, allocations: 0 / 0.6585 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.03614, allocations: 1.845 MB / 0.6603 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.613, allocations: 8.172 kB / 0.6603 GB, free: 15.61 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.453242323361337] Failed to read output from testmodel.py, exit status != 0: 7.696611691266298 7.708776793 7.701917077 Calling exit ...