Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009842, allocations: 100.8 kB / 16.4 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009541/0.0009542, allocations: 196 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6723/0.6723, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 65.19 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.144, allocations: 76.19 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001947/0.146, allocations: 1.222 MB / 0.6328 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1473, allocations: 1.012 MB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.1473, allocations: 0 / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.1473, allocations: 0 / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.1478, allocations: 111.5 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.145e-06/0.1478, allocations: 4 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.1478, allocations: 3.984 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.1479, allocations: 0 / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.1479, allocations: 7.938 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.148, allocations: 8 kB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.148, allocations: 0 / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.1482, allocations: 123.8 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-06/0.1482, allocations: 3.984 kB / 0.634 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.175e-05/0.1482, allocations: 0 / 0.634 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1484, allocations: 107.8 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1484, allocations: 0 / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1484, allocations: 0 / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1484, allocations: 0 / 0.6341 GB, free: 2.266 MB / 478.1 MB 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.0003512/0.1488, allocations: 350.4 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1488, allocations: 12.03 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.1489, allocations: 110 kB / 0.6346 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.149, allocations: 76.22 kB / 0.6347 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1491, allocations: 243.7 kB / 0.6349 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.1492, allocations: 154.9 kB / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.1493, allocations: 150.9 kB / 0.6352 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.711e-05/0.1493, allocations: 112.9 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.1494, allocations: 75.28 kB / 0.6354 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.1494, allocations: 154.5 kB / 0.6355 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.1495, allocations: 150.6 kB / 0.6357 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.1495, allocations: 154.6 kB / 0.6358 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.1498, allocations: 446 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.1499, allocations: 165.1 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.1499, allocations: 92.06 kB / 0.6365 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.15, allocations: 79.22 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.15, allocations: 113.8 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.15, allocations: 0 / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.899e-05/0.1501, allocations: 29.61 kB / 0.6367 GB, free: 15.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.1502, allocations: 130.7 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.1503, allocations: 93.86 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.1503, allocations: 25.7 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.1503, allocations: 80.14 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.1503, allocations: 0 / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.1503, allocations: 21.83 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1505, allocations: 310.8 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-06/0.1505, allocations: 48 / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.1505, allocations: 7.938 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.1505, allocations: 79.28 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.466e-05/0.1505, allocations: 75.28 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.849e-05/0.1506, allocations: 33.64 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.1506, allocations: 80.69 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.1507, allocations: 79.28 kB / 0.6377 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.798e-05/0.1507, allocations: 158.5 kB / 0.6378 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-05/0.1508, allocations: 79.39 kB / 0.6379 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.612e-05/0.1508, allocations: 158.5 kB / 0.638 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1509, allocations: 75.28 kB / 0.6381 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1509, allocations: 83.27 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB 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.0001585/0.1511, allocations: 272.9 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.1512, allocations: 104.9 kB / 0.6385 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.1512, allocations: 108.1 kB / 0.6386 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.067e-05/0.1513, allocations: 184.2 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.679e-05/0.1514, allocations: 176.3 kB / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.769e-05/0.1514, allocations: 188.2 kB / 0.6392 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1517, allocations: 401.2 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.1517, allocations: 104.9 kB / 0.6397 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.1518, allocations: 104.9 kB / 0.6398 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.883e-05/0.1518, allocations: 176.3 kB / 0.6399 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-05/0.1519, allocations: 196.2 kB / 0.6401 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.699e-05/0.152, allocations: 184.2 kB / 0.6403 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.985e-05/0.1521, allocations: 176.3 kB / 0.6405 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.1522, allocations: 303.8 kB / 0.6407 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1522, allocations: 193.9 kB / 0.6409 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.1523, allocations: 184.3 kB / 0.6411 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.1524, allocations: 101 kB / 0.6412 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.1525, allocations: 180.2 kB / 0.6414 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.1525, allocations: 101 kB / 0.6415 GB, free: 10.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.763e-05/0.1525, allocations: 83.28 kB / 0.6415 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1525, allocations: 0 / 0.6415 GB, free: 10.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1528, allocations: 44.08 kB / 0.6416 GB, free: 10.16 MB / 494.1 MB 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.0007779/0.1536, allocations: 0.9383 MB / 0.6425 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.92e-05/0.1537, allocations: 0 / 0.6425 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1537, allocations: 4 kB / 0.6425 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.1537, allocations: 4 kB / 0.6425 GB, free: 9.219 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.154, allocations: 459.6 kB / 0.643 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1551, allocations: 1.552 MB / 0.6445 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1554, allocations: 0.669 MB / 0.6451 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.097e-05/0.1554, allocations: 8.125 kB / 0.6451 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.1554, allocations: 11.42 kB / 0.6451 GB, free: 6.418 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1554, allocations: 0 / 0.6451 GB, free: 6.418 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.1755, allocations: 1.878 MB / 0.647 GB, free: 4.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.178, allocations: 12.89 kB / 0.647 GB, free: 4.68 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)