Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007907/0.0007907, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008975/0.0008975, allocations: 219.6 kB / 22.26 MB, free: 3.691 MB / 13.93 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.9472/0.9472, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8201/0.8201, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009274/0.0009274, allocations: 69.28 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5563, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001621/0.5579, allocations: 1.264 MB / 0.8191 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.5591, allocations: 1.108 MB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.5591, allocations: 0 / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.5591, allocations: 3.938 kB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.5595, allocations: 112.9 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.5595, allocations: 0.6562 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.5595, allocations: 5.688 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.5596, allocations: 2.891 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.957e-05/0.5596, allocations: 7.875 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.5597, allocations: 4.359 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.5597, allocations: 0 / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.5599, allocations: 129.9 kB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-06/0.5599, allocations: 0 / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.5599, allocations: 0 / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.5601, allocations: 100.7 kB / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5601, allocations: 1.125 kB / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5601, allocations: 0 / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5601, allocations: 4 kB / 0.8205 GB, free: 15.46 MB / 0.6198 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.0002719/0.5604, allocations: 275.8 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.5604, allocations: 9.188 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.5605, allocations: 110.6 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.5605, allocations: 76.22 kB / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.5606, allocations: 185.8 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.561, allocations: 158.5 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.561, allocations: 151.6 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.589e-05/0.561, allocations: 108.9 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5611, allocations: 79.28 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.5611, allocations: 155.2 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.5611, allocations: 150.6 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.5612, allocations: 154.6 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.5614, allocations: 422.9 kB / 0.8225 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.5615, allocations: 165.1 kB / 0.8226 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.5615, allocations: 84.89 kB / 0.8227 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.5615, allocations: 83.22 kB / 0.8228 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.5615, allocations: 107.9 kB / 0.8229 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.5615, allocations: 0 / 0.8229 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.126e-05/0.5616, allocations: 31.73 kB / 0.8229 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.5616, allocations: 126.7 kB / 0.8231 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.5617, allocations: 98.69 kB / 0.8232 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.5618, allocations: 27.02 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.5618, allocations: 84.14 kB / 0.8233 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.5618, allocations: 0 / 0.8233 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.5618, allocations: 12.27 kB / 0.8233 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.5619, allocations: 313 kB / 0.8236 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.5619, allocations: 0 / 0.8236 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.5619, allocations: 0 / 0.8236 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.5619, allocations: 75.28 kB / 0.8236 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.5619, allocations: 76.62 kB / 0.8237 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.926e-05/0.562, allocations: 45.73 kB / 0.8238 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.562, allocations: 80.19 kB / 0.8238 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.562, allocations: 77.34 kB / 0.8239 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.215e-05/0.562, allocations: 150.6 kB / 0.8241 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.069e-05/0.5621, allocations: 82.19 kB / 0.8241 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.418e-05/0.5621, allocations: 151.2 kB / 0.8243 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.5622, allocations: 83.92 kB / 0.8244 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5622, allocations: 76.75 kB / 0.8244 GB, free: 11.35 MB / 0.6198 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 8.474e-05/0.5623, allocations: 266.6 kB / 0.8247 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.5623, allocations: 108.6 kB / 0.8248 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.5623, allocations: 116.6 kB / 0.8249 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-05/0.5624, allocations: 187.6 kB / 0.8251 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-05/0.5624, allocations: 180.9 kB / 0.8253 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.766e-05/0.5625, allocations: 177.1 kB / 0.8254 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.5626, allocations: 381.1 kB / 0.8258 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.5626, allocations: 112.8 kB / 0.8259 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.5627, allocations: 101.6 kB / 0.826 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-05/0.5627, allocations: 184.8 kB / 0.8262 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.5627, allocations: 178 kB / 0.8263 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-05/0.5628, allocations: 193.7 kB / 0.8265 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.921e-05/0.5628, allocations: 180.2 kB / 0.8267 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.069e-05/0.5629, allocations: 307.2 kB / 0.827 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.5629, allocations: 109.6 kB / 0.8271 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.563, allocations: 180.9 kB / 0.8273 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.563, allocations: 101.5 kB / 0.8274 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.5631, allocations: 180.7 kB / 0.8275 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.5631, allocations: 105.6 kB / 0.8276 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.5631, allocations: 88.23 kB / 0.8277 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5631, allocations: 0 / 0.8277 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002045/0.5633, allocations: 32.69 kB / 0.8277 GB, free: 7.82 MB / 0.6198 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.0005182/0.5639, allocations: 0.938 MB / 0.8287 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.346e-05/0.5639, allocations: 12.53 kB / 0.8287 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5639, allocations: 0 / 0.8287 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.5639, allocations: 2.344 kB / 0.8287 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.5644, allocations: 460 kB / 0.8291 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.5652, allocations: 1.561 MB / 0.8306 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.5654, allocations: 0.6715 MB / 0.8313 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.676e-06/0.5654, allocations: 2.297 kB / 0.8313 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.5654, allocations: 8.594 kB / 0.8313 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.5654, allocations: 0 / 0.8313 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.583, allocations: 1.98 MB / 0.8332 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/7.279, allocations: 8.438 kB / 0.8332 GB, free: 3.695 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.368713031057268] Failed to read output from testmodel.py, exit status != 0: 7.396447549108416 7.411075623 6.848508112 Calling exit ...