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.001146/0.001146, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008967/0.0008967, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9589/0.9589, allocations: 230.6 MB / 256 MB, free: 9.586 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.7891/0.7891, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001015/0.001015, allocations: 68.73 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.5184, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001548/0.5199, allocations: 1.274 MB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.5211, allocations: 1.079 MB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.5211, allocations: 4.688 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.5211, allocations: 0 / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.5215, allocations: 120.1 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.047e-06/0.5215, allocations: 0 / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.536e-05/0.5216, allocations: 5 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.5216, allocations: 3.188 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.5216, allocations: 0 / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.5217, allocations: 5.094 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-06/0.5217, allocations: 5 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.5219, allocations: 107.1 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.802e-06/0.5219, allocations: 0 / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.155e-05/0.5219, allocations: 0 / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.5221, allocations: 108.9 kB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5221, allocations: 0 / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5221, allocations: 0 / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5221, allocations: 0 / 0.8204 GB, free: 15.26 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.0002661/0.5223, allocations: 271.3 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5224, allocations: 10.41 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.5224, allocations: 109.8 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.5224, allocations: 84.16 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5226, allocations: 183.8 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.5226, allocations: 153 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.5226, allocations: 150.9 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.466e-05/0.5227, allocations: 110.9 kB / 0.8215 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.5227, allocations: 75.28 kB / 0.8215 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.5227, allocations: 151.2 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.5228, allocations: 152.4 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.5228, allocations: 151.9 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.523, allocations: 419.5 kB / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.5231, allocations: 173.1 kB / 0.8225 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.5231, allocations: 84.19 kB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.5231, allocations: 83.39 kB / 0.8227 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.5232, allocations: 110.5 kB / 0.8228 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.5232, allocations: 0 / 0.8228 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.841e-05/0.5232, allocations: 26.36 kB / 0.8228 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.5233, allocations: 128.5 kB / 0.823 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.5233, allocations: 98.19 kB / 0.823 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.5234, allocations: 25.7 kB / 0.8231 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.5234, allocations: 83.16 kB / 0.8231 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.5234, allocations: 4.125 kB / 0.8232 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.5234, allocations: 14.31 kB / 0.8232 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.5235, allocations: 317.2 kB / 0.8235 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.5235, allocations: 0 / 0.8235 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.5235, allocations: 0 / 0.8235 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.5235, allocations: 76.62 kB / 0.8235 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.5235, allocations: 75.28 kB / 0.8236 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.617e-05/0.5235, allocations: 33.36 kB / 0.8236 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.5236, allocations: 82.47 kB / 0.8237 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.5236, allocations: 79.88 kB / 0.8238 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.473e-05/0.5236, allocations: 154.6 kB / 0.8239 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.5237, allocations: 83.97 kB / 0.824 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-05/0.5237, allocations: 159.2 kB / 0.8242 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.5237, allocations: 78.78 kB / 0.8243 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.5238, allocations: 80.3 kB / 0.8243 GB, free: 11.15 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 7.679e-05/0.5238, allocations: 261.7 kB / 0.8246 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.5239, allocations: 114.5 kB / 0.8247 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.5239, allocations: 120.8 kB / 0.8248 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/0.5239, allocations: 181.3 kB / 0.825 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-05/0.524, allocations: 179.1 kB / 0.8252 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-05/0.524, allocations: 180.9 kB / 0.8253 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.5242, allocations: 378.4 kB / 0.8257 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.5242, allocations: 113.4 kB / 0.8258 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.5245, allocations: 103.4 kB / 0.8259 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-05/0.5245, allocations: 179.7 kB / 0.8261 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.5245, allocations: 180.7 kB / 0.8262 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.985e-05/0.5246, allocations: 179.8 kB / 0.8264 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-05/0.5246, allocations: 180.9 kB / 0.8266 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.235e-05/0.5247, allocations: 303.8 kB / 0.8269 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.5247, allocations: 110.3 kB / 0.827 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.5248, allocations: 178.4 kB / 0.8271 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.5248, allocations: 110.9 kB / 0.8272 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.5249, allocations: 183.2 kB / 0.8274 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.5249, allocations: 103.4 kB / 0.8275 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.5249, allocations: 83.02 kB / 0.8276 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5249, allocations: 0 / 0.8276 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002272/0.5252, allocations: 37.53 kB / 0.8276 GB, free: 7.641 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.0005642/0.5257, allocations: 0.9555 MB / 0.8286 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.699e-05/0.5258, allocations: 6.359 kB / 0.8286 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5258, allocations: 4 kB / 0.8286 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5258, allocations: 3.938 kB / 0.8286 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.526, allocations: 455.5 kB / 0.829 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.5268, allocations: 1.559 MB / 0.8305 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.5269, allocations: 54.45 kB / 0.8306 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.178e-06/0.5269, allocations: 0 / 0.8306 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.5269, allocations: 9.672 kB / 0.8306 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of SimCode: time 6.72e-07/0.5269, allocations: 0 / 0.8306 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.5472, allocations: 2.392 MB / 0.8329 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.364, allocations: 1.625 kB / 0.8329 GB, free: 3.727 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.417225679382682] Failed to read output from testmodel.py, exit status != 0: 7.480541831813753 7.494100718 6.968842036 Calling exit ...