Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001069/0.001069, 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.001102/0.001102, allocations: 169.9 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 1.163/1.163, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.002092/0.002092, allocations: 242 kB / 259.4 MB, free: 13.02 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.853/0.853, allocations: 138.4 MB / 454.3 MB, free: 1.621 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.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.938e-06/3.938e-06, allocations: 0 / 0.6463 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.73e-05/4.124e-05, allocations: 6.781 kB / 0.6463 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00405/0.004091, allocations: 1.252 MB / 0.6475 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.006447, allocations: 1.095 MB / 0.6486 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.006493, allocations: 0 / 0.6486 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.006523, allocations: 1.406 kB / 0.6486 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008632/0.007387, allocations: 111.3 kB / 0.6487 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 5.961e-06/0.007393, allocations: 4 kB / 0.6487 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.007453, allocations: 5.125 kB / 0.6487 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.007572, allocations: 2.312 kB / 0.6487 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.007646, allocations: 1.5 kB / 0.6487 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.007715, allocations: 2.75 kB / 0.6487 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.007725, allocations: 0 / 0.6487 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.00797, allocations: 109.3 kB / 0.6488 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.007984, allocations: 7.984 kB / 0.6488 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.007999, allocations: 0 / 0.6488 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.008225, allocations: 119.3 kB / 0.649 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.008231, allocations: 0 / 0.649 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.048e-06/0.008235, allocations: 4 kB / 0.649 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.495e-06/0.008243, allocations: 1.438 kB / 0.649 GB, free: 27.11 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.0003741/0.008617, allocations: 269.8 kB / 0.6492 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001297/0.008747, allocations: 9.531 kB / 0.6492 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.567e-05/0.008822, allocations: 106 kB / 0.6493 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.008892, allocations: 81.62 kB / 0.6494 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.009021, allocations: 178.7 kB / 0.6496 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.00905, allocations: 160.3 kB / 0.6497 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.009073, allocations: 152.4 kB / 0.6499 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.246e-05/0.009136, allocations: 105.5 kB / 0.65 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.009149, allocations: 80.91 kB / 0.6501 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.009174, allocations: 154.5 kB / 0.6502 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.009192, allocations: 152 kB / 0.6503 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.009216, allocations: 151.7 kB / 0.6505 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.00939, allocations: 416 kB / 0.6509 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.009451, allocations: 170.5 kB / 0.6511 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.009472, allocations: 84.08 kB / 0.6511 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.00949, allocations: 76.72 kB / 0.6512 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.009514, allocations: 115.3 kB / 0.6513 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.009516, allocations: 0 / 0.6513 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.167e-05/0.009598, allocations: 43.12 kB / 0.6514 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.009641, allocations: 126.7 kB / 0.6515 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.009747, allocations: 94.48 kB / 0.6516 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.009753, allocations: 25.7 kB / 0.6516 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.009772, allocations: 80.14 kB / 0.6517 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.009775, allocations: 0 / 0.6517 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.009804, allocations: 16.34 kB / 0.6517 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.009877, allocations: 310.8 kB / 0.652 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.009886, allocations: 1.656 kB / 0.652 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.009891, allocations: 0 / 0.652 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.971e-05/0.009911, allocations: 79.39 kB / 0.6521 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.009927, allocations: 80.38 kB / 0.6521 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.797e-05/0.009975, allocations: 28.02 kB / 0.6522 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.01, allocations: 84.84 kB / 0.6522 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.01002, allocations: 80.56 kB / 0.6523 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/0.01005, allocations: 155.7 kB / 0.6525 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.418e-05/0.01007, allocations: 80.41 kB / 0.6525 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/0.01009, allocations: 155.7 kB / 0.6527 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.01015, allocations: 84.44 kB / 0.6528 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01016, allocations: 84.62 kB / 0.6529 GB, free: 22.97 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 0.0001333/0.0103, allocations: 262.3 kB / 0.6531 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.01034, allocations: 103.5 kB / 0.6532 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.01041, allocations: 121.3 kB / 0.6533 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/0.01046, allocations: 180.3 kB / 0.6535 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/0.01051, allocations: 186.2 kB / 0.6537 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.108e-05/0.01057, allocations: 177.5 kB / 0.6538 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.01071, allocations: 367.8 kB / 0.6542 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.01073, allocations: 112.9 kB / 0.6543 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.01074, allocations: 102.8 kB / 0.6544 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.802e-05/0.01077, allocations: 185.7 kB / 0.6546 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.0108, allocations: 181.3 kB / 0.6547 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-05/0.01082, allocations: 181.4 kB / 0.6549 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-05/0.01085, allocations: 185.3 kB / 0.6551 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.01094, allocations: 313.5 kB / 0.6554 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.01096, allocations: 102.1 kB / 0.6555 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.011, allocations: 181.5 kB / 0.6557 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.01104, allocations: 111.2 kB / 0.6558 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.01108, allocations: 181.5 kB / 0.6559 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.0111, allocations: 110 kB / 0.656 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.01114, allocations: 77.66 kB / 0.6561 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 3.938 kB / 0.6561 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002686/0.0114, allocations: 44.36 kB / 0.6562 GB, free: 19.43 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.0006819/0.01209, allocations: 0.9481 MB / 0.6571 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.044e-05/0.01214, allocations: 9.188 kB / 0.6571 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01214, allocations: 0 / 0.6571 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.01214, allocations: 1.125 kB / 0.6571 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01237, allocations: 459.6 kB / 0.6575 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.0135, allocations: 1.56 MB / 0.6591 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.062e-05/0.01353, allocations: 59.14 kB / 0.6591 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.816e-06/0.01354, allocations: 0 / 0.6591 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.01357, allocations: 9.875 kB / 0.6591 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of SimCode: time 8.41e-07/0.01357, allocations: 0 / 0.6591 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.03584, allocations: 2.547 MB / 0.6616 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/7.216, allocations: 10.8 kB / 0.6616 GB, free: 14.84 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.225028021261096] Failed to read output from testmodel.py, exit status != 0: 7.337144946679473 7.348506846 7.337270502 Calling exit ...