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.0007254/0.0007254, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007801/0.0007801, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 0.8491/0.8491, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.002143/0.002143, allocations: 240 kB / 259.4 MB, free: 13.03 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.6691/0.6691, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.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 1.673e-06/1.673e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.072e-05, allocations: 8.609 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001531/0.001551, allocations: 1.275 MB / 0.6476 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2226/0.2241, allocations: 0.8063 MB / 0.6483 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.2241, allocations: 2.406 kB / 0.6483 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.2242, allocations: 1.312 kB / 0.6483 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.2245, allocations: 15.81 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 8.737e-05/0.2246, allocations: 6.531 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.027e-05/0.2246, allocations: 11.92 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.2247, allocations: 2 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.2247, allocations: 6.172 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.2248, allocations: 6.078 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2248, allocations: 1.375 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.2249, allocations: 9.406 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.2249, allocations: 3.938 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.2249, allocations: 3.438 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.106e-05/0.225, allocations: 13.78 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.225, allocations: 2.031 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.225, allocations: 0.9375 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.225, allocations: 0 / 0.6484 GB, free: 55.91 MB / 0.5573 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.0002697/0.2253, allocations: 245.9 kB / 0.6487 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2253, allocations: 11.69 kB / 0.6487 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.421e-05/0.2254, allocations: 107.5 kB / 0.6488 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.2254, allocations: 78.28 kB / 0.6488 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.541e-05/0.2255, allocations: 190.5 kB / 0.649 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2255, allocations: 152.6 kB / 0.6492 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.2255, allocations: 153.1 kB / 0.6493 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.825e-05/0.2256, allocations: 103.9 kB / 0.6494 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2256, allocations: 81.84 kB / 0.6495 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2256, allocations: 151.5 kB / 0.6496 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2256, allocations: 157.8 kB / 0.6498 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.2256, allocations: 154.7 kB / 0.6499 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.2258, allocations: 418.5 kB / 0.6503 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.801e-05/0.2258, allocations: 170 kB / 0.6505 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.2258, allocations: 83.27 kB / 0.6506 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.2258, allocations: 77.27 kB / 0.6507 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.2258, allocations: 107.7 kB / 0.6508 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2258, allocations: 0.7188 kB / 0.6508 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.729e-05/0.2259, allocations: 32.25 kB / 0.6508 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.2259, allocations: 134.1 kB / 0.6509 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.539e-05/0.226, allocations: 100.5 kB / 0.651 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.226, allocations: 27.08 kB / 0.651 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.226, allocations: 82.8 kB / 0.6511 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.226, allocations: 0.9375 kB / 0.6511 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.226, allocations: 12.88 kB / 0.6511 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.248e-05/0.2261, allocations: 314.7 kB / 0.6514 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.2261, allocations: 0.5 kB / 0.6514 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.2261, allocations: 30.48 kB / 0.6515 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.074e-05/0.2261, allocations: 79.94 kB / 0.6515 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2261, allocations: 76.03 kB / 0.6516 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.116e-05/0.2261, allocations: 35.97 kB / 0.6516 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2262, allocations: 82.06 kB / 0.6517 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2262, allocations: 76.75 kB / 0.6518 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.2262, allocations: 157.3 kB / 0.6519 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-06/0.2262, allocations: 82.61 kB / 0.652 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.2262, allocations: 153.8 kB / 0.6522 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.2263, allocations: 84.33 kB / 0.6522 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.2263, allocations: 76.22 kB / 0.6523 GB, free: 51.86 MB / 0.5573 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.414e-05/0.2264, allocations: 263.6 kB / 0.6526 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.2264, allocations: 107.5 kB / 0.6527 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.2264, allocations: 111.1 kB / 0.6528 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.2264, allocations: 189.5 kB / 0.653 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.2264, allocations: 182.3 kB / 0.6531 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.2264, allocations: 179.4 kB / 0.6533 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.057e-05/0.2265, allocations: 377.8 kB / 0.6537 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.2265, allocations: 104 kB / 0.6538 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.2265, allocations: 106.4 kB / 0.6539 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.2266, allocations: 180.4 kB / 0.654 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2266, allocations: 180.7 kB / 0.6542 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.2266, allocations: 182.6 kB / 0.6544 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/0.2266, allocations: 183.8 kB / 0.6546 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.065e-05/0.2267, allocations: 309.1 kB / 0.6549 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.2267, allocations: 106.3 kB / 0.655 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2267, allocations: 187.9 kB / 0.6551 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.2267, allocations: 103.9 kB / 0.6552 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.2268, allocations: 188.2 kB / 0.6554 GB, free: 48.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2268, allocations: 107.5 kB / 0.6555 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.2268, allocations: 83.09 kB / 0.6556 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2268, allocations: 0 / 0.6556 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000178/0.227, allocations: 9.156 kB / 0.6556 GB, free: 48.39 MB / 0.5573 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.0003918/0.2274, allocations: 0.817 MB / 0.6564 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.738e-05/0.2274, allocations: 1.406 kB / 0.6564 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2274, allocations: 3.375 kB / 0.6564 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.2274, allocations: 1.344 kB / 0.6564 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.2276, allocations: 464.5 kB / 0.6569 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.2283, allocations: 1.564 MB / 0.6584 GB, free: 45.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.2283, allocations: 61.38 kB / 0.6584 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.2283, allocations: 4.953 kB / 0.6584 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.2284, allocations: 11.98 kB / 0.6585 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/0.2284, allocations: 0 / 0.6585 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.2446, allocations: 1.834 MB / 0.6602 GB, free: 44.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.239, allocations: 9.406 kB / 0.6603 GB, free: 44.76 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.70497664436698] Failed to read output from testmodel.py, exit status != 0: 7.317910473793745 7.328537915 7.101443904 Calling exit ...