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.00114/0.00114, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001099/0.001099, allocations: 194.9 kB / 16.91 MB, free: 6.195 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.179/1.179, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6456/0.6456, allocations: 115.3 MB / 406.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.14 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2562, allocations: 76.17 MB / 0.556 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001738/0.2579, allocations: 1.291 MB / 0.5573 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.2589, allocations: 0.9894 MB / 0.5583 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.2589, allocations: 1.219 kB / 0.5583 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.2589, allocations: 0 / 0.5583 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.2593, allocations: 87.86 kB / 0.5583 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.806e-06/0.2593, allocations: 0.5 kB / 0.5583 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.678e-05/0.2593, allocations: 5.312 kB / 0.5583 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.2594, allocations: 9.844 kB / 0.5584 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.16e-05/0.2594, allocations: 1.062 kB / 0.5584 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.2595, allocations: 7.828 kB / 0.5584 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.2595, allocations: 0.625 kB / 0.5584 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2596, allocations: 113.2 kB / 0.5585 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-06/0.2596, allocations: 2.281 kB / 0.5585 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.2597, allocations: 4.672 kB / 0.5585 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.2598, allocations: 105.1 kB / 0.5586 GB, free: 33.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2598, allocations: 0.625 kB / 0.5586 GB, free: 33.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2598, allocations: 1.312 kB / 0.5586 GB, free: 33.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.2598, allocations: 0.6562 kB / 0.5586 GB, free: 33.93 MB / 446.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.0002023/0.26, allocations: 352.5 kB / 0.5589 GB, free: 33.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2601, allocations: 10.31 kB / 0.5589 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.051e-05/0.2601, allocations: 106 kB / 0.559 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.2602, allocations: 78.84 kB / 0.5591 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.267e-05/0.2602, allocations: 241.3 kB / 0.5593 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2603, allocations: 152 kB / 0.5595 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2603, allocations: 152.2 kB / 0.5596 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.247e-05/0.2603, allocations: 110.2 kB / 0.5597 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2603, allocations: 75.78 kB / 0.5598 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2603, allocations: 153.5 kB / 0.5599 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2604, allocations: 153.5 kB / 0.5601 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.2604, allocations: 159.6 kB / 0.5602 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.2605, allocations: 446.4 kB / 0.5607 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.014e-05/0.2606, allocations: 167.8 kB / 0.5608 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.189e-05/0.2606, allocations: 85.05 kB / 0.5609 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2606, allocations: 84.56 kB / 0.561 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2606, allocations: 111.1 kB / 0.5611 GB, free: 31.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2606, allocations: 0.9688 kB / 0.5611 GB, free: 31.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.165e-05/0.2607, allocations: 30.92 kB / 0.5611 GB, free: 31.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2607, allocations: 129.6 kB / 0.5613 GB, free: 31.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.061e-05/0.2607, allocations: 99.61 kB / 0.5613 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-06/0.2608, allocations: 26.27 kB / 0.5614 GB, free: 30.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-06/0.2608, allocations: 81.36 kB / 0.5615 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.2608, allocations: 0 / 0.5615 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.2608, allocations: 16.44 kB / 0.5615 GB, free: 30.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.145e-05/0.2608, allocations: 310.8 kB / 0.5618 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-06/0.2608, allocations: 1.281 kB / 0.5618 GB, free: 30.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-06/0.2608, allocations: 0 / 0.5618 GB, free: 30.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-06/0.2609, allocations: 77.56 kB / 0.5618 GB, free: 30.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.2609, allocations: 80.5 kB / 0.5619 GB, free: 30.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.993e-05/0.2609, allocations: 35.86 kB / 0.5619 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2609, allocations: 80.47 kB / 0.562 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2609, allocations: 75.84 kB / 0.5621 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.261, allocations: 156.3 kB / 0.5622 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-06/0.261, allocations: 77.94 kB / 0.5623 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.261, allocations: 157.7 kB / 0.5625 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.2611, allocations: 78.33 kB / 0.5625 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2611, allocations: 76.91 kB / 0.5626 GB, free: 29.64 MB / 446.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 4.05e-05/0.2611, allocations: 263.6 kB / 0.5629 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.2612, allocations: 115 kB / 0.563 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.2612, allocations: 110.5 kB / 0.5631 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.2612, allocations: 184.5 kB / 0.5633 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.2612, allocations: 177.7 kB / 0.5634 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.2612, allocations: 177.2 kB / 0.5636 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.2613, allocations: 413.2 kB / 0.564 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.2614, allocations: 110.1 kB / 0.5641 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.2614, allocations: 107.5 kB / 0.5642 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.2614, allocations: 181.7 kB / 0.5644 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2614, allocations: 179.9 kB / 0.5645 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.759e-05/0.2614, allocations: 186.6 kB / 0.5647 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-05/0.2615, allocations: 178.8 kB / 0.5649 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.558e-05/0.2615, allocations: 304.9 kB / 0.5652 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.2615, allocations: 184.5 kB / 0.5654 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.2616, allocations: 185.1 kB / 0.5655 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.2616, allocations: 102.2 kB / 0.5656 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.2616, allocations: 183.4 kB / 0.5658 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2617, allocations: 102.5 kB / 0.5659 GB, free: 26.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.2617, allocations: 88.02 kB / 0.566 GB, free: 26.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2617, allocations: 0 / 0.566 GB, free: 26.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.262, allocations: 36.62 kB / 0.566 GB, free: 26.02 MB / 446.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.0004407/0.2624, allocations: 0.9566 MB / 0.567 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 2.631e-05/0.2624, allocations: 3.938 kB / 0.567 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2625, allocations: 2.188 kB / 0.567 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2625, allocations: 0 / 0.567 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.2627, allocations: 458.3 kB / 0.5674 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.2633, allocations: 1.553 MB / 0.5689 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.881e-05/0.2634, allocations: 0.6721 MB / 0.5696 GB, free: 22.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.183e-06/0.2634, allocations: 5.469 kB / 0.5696 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.2634, allocations: 12.14 kB / 0.5696 GB, free: 22.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2634, allocations: 0 / 0.5696 GB, free: 22.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9748/1.238, allocations: 1.784 MB / 0.5713 GB, free: 22.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.238, allocations: 272.5 kB / 0.5716 GB, free: 21.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/3.104, allocations: 1.406 kB / 0.5716 GB, free: 21.82 MB / 446.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)