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.000802/0.000802, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008594/0.0008595, allocations: 182 kB / 16.92 MB, free: 6.781 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.236/1.236, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6406/0.6406, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 15.98 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 77.53 MB / 0.5601 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001126/0.1201, allocations: 0.9497 MB / 0.561 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1214, allocations: 0.9951 MB / 0.562 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-06/0.1214, allocations: 0 / 0.562 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.1215, allocations: 0 / 0.562 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1218, allocations: 79.81 kB / 0.562 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.054e-06/0.1218, allocations: 4 kB / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.776e-05/0.1218, allocations: 7.922 kB / 0.562 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.097e-05/0.1219, allocations: 3.984 kB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.1219, allocations: 0 / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.122, allocations: 11.94 kB / 0.5621 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.122, allocations: 0 / 0.5621 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1222, allocations: 111.9 kB / 0.5622 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.1222, allocations: 3.984 kB / 0.5622 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.1222, allocations: 25.7 kB / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1224, allocations: 103.8 kB / 0.5623 GB, free: 6.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1224, allocations: 0 / 0.5623 GB, free: 6.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1224, allocations: 0 / 0.5623 GB, free: 6.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.1224, allocations: 0 / 0.5623 GB, free: 6.652 MB / 430.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.0002728/0.1227, allocations: 343.6 kB / 0.5626 GB, free: 6.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1227, allocations: 16.03 kB / 0.5626 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.1228, allocations: 110 kB / 0.5627 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.1228, allocations: 76.22 kB / 0.5628 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.123, allocations: 236 kB / 0.563 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.123, allocations: 154.9 kB / 0.5632 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.1231, allocations: 158.9 kB / 0.5633 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.914e-05/0.1231, allocations: 108.9 kB / 0.5634 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.306e-05/0.1232, allocations: 75.28 kB / 0.5635 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1232, allocations: 158.5 kB / 0.5637 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.1233, allocations: 150.6 kB / 0.5638 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.1233, allocations: 154.5 kB / 0.5639 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.1236, allocations: 446 kB / 0.5644 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.1236, allocations: 169.1 kB / 0.5645 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.1237, allocations: 80.14 kB / 0.5646 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1237, allocations: 83.2 kB / 0.5647 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.1237, allocations: 121.8 kB / 0.5648 GB, free: 3.887 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1238, allocations: 0 / 0.5648 GB, free: 3.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.146e-05/0.1238, allocations: 29.7 kB / 0.5648 GB, free: 3.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1239, allocations: 126.7 kB / 0.565 GB, free: 3.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.124, allocations: 97.86 kB / 0.5651 GB, free: 3.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.124, allocations: 25.7 kB / 0.5651 GB, free: 3.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.124, allocations: 80.14 kB / 0.5652 GB, free: 3.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.124, allocations: 0 / 0.5652 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.124, allocations: 9.844 kB / 0.5652 GB, free: 3.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.1241, allocations: 318.8 kB / 0.5655 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-06/0.1241, allocations: 0 / 0.5655 GB, free: 3.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-06/0.1241, allocations: 0 / 0.5655 GB, free: 3.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.1242, allocations: 75.28 kB / 0.5655 GB, free: 3.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/0.1242, allocations: 79.28 kB / 0.5656 GB, free: 3.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.933e-05/0.1243, allocations: 37.48 kB / 0.5656 GB, free: 2.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.1243, allocations: 79.28 kB / 0.5657 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.1243, allocations: 83.28 kB / 0.5658 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.468e-05/0.1244, allocations: 158.5 kB / 0.566 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.1244, allocations: 75.28 kB / 0.566 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/0.1244, allocations: 154.5 kB / 0.5662 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.1245, allocations: 83.27 kB / 0.5663 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.1246, allocations: 79.33 kB / 0.5663 GB, free: 2.262 MB / 430.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.0001071/0.1247, allocations: 264.3 kB / 0.5666 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.1247, allocations: 112.9 kB / 0.5667 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.1248, allocations: 108.1 kB / 0.5668 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/0.1248, allocations: 184.2 kB / 0.567 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-05/0.1249, allocations: 176.3 kB / 0.5671 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-05/0.1249, allocations: 184.3 kB / 0.5673 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1251, allocations: 405.2 kB / 0.5677 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.1252, allocations: 108.9 kB / 0.5678 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.1252, allocations: 104.9 kB / 0.5679 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.528e-05/0.1253, allocations: 184.2 kB / 0.5681 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.1253, allocations: 176.3 kB / 0.5682 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.224e-05/0.1254, allocations: 184.2 kB / 0.5684 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.736e-05/0.1255, allocations: 184.2 kB / 0.5686 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1256, allocations: 299.8 kB / 0.5689 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.1257, allocations: 186 kB / 0.5691 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.1258, allocations: 196.2 kB / 0.5692 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1258, allocations: 101 kB / 0.5693 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.1259, allocations: 180.2 kB / 0.5695 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.1259, allocations: 105 kB / 0.5696 GB, free: 14.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.126, allocations: 75.28 kB / 0.5697 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.126, allocations: 0 / 0.5697 GB, free: 14.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1263, allocations: 43.98 kB / 0.5697 GB, free: 14.55 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.0006347/0.1269, allocations: 0.954 MB / 0.5707 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 2.523e-05/0.1269, allocations: 4 kB / 0.5707 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1269, allocations: 0 / 0.5707 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.127, allocations: 4 kB / 0.5707 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1273, allocations: 0.5146 MB / 0.5712 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.1283, allocations: 1.555 MB / 0.5727 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.1285, allocations: 0.6692 MB / 0.5733 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.1285, allocations: 8.125 kB / 0.5733 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.1285, allocations: 11.38 kB / 0.5734 GB, free: 10.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1285, allocations: 7.875 kB / 0.5734 GB, free: 10.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/0.2914, allocations: 1.644 MB / 0.575 GB, free: 9.273 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.2917, allocations: 276.5 kB / 0.5752 GB, free: 8.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.885, allocations: 4.062 kB / 0.5752 GB, free: 8.91 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)