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.00124/0.00124, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.00122/0.00122, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.228/1.228, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7131/0.7131, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.88 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2821, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002157/0.2843, allocations: 1.225 MB / 0.5685 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2855, allocations: 1.003 MB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.2855, allocations: 0 / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.2855, allocations: 0 / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.2859, allocations: 121.1 kB / 0.5696 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.2859, allocations: 3.938 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.291e-05/0.2859, allocations: 2.844 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.286, allocations: 2.391 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.286, allocations: 1.188 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.271e-05/0.2861, allocations: 11.03 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.2861, allocations: 0 / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.2863, allocations: 113.4 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-06/0.2863, allocations: 0 / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.2863, allocations: 1.125 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2865, allocations: 112.1 kB / 0.5698 GB, free: 31.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2865, allocations: 0 / 0.5698 GB, free: 31.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2865, allocations: 0 / 0.5698 GB, free: 31.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2866, allocations: 0 / 0.5698 GB, free: 31.08 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.0002386/0.2868, allocations: 340.9 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2868, allocations: 11.5 kB / 0.5702 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.664e-05/0.2869, allocations: 106 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.2869, allocations: 78.8 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.287, allocations: 249.8 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.287, allocations: 151.9 kB / 0.5707 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2871, allocations: 153.8 kB / 0.5709 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.573e-05/0.2871, allocations: 109.7 kB / 0.571 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2871, allocations: 75.28 kB / 0.571 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.2871, allocations: 153.3 kB / 0.5712 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2872, allocations: 151.2 kB / 0.5713 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.2872, allocations: 157 kB / 0.5715 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.2873, allocations: 446 kB / 0.5719 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.421e-05/0.2874, allocations: 172.3 kB / 0.5721 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.2874, allocations: 81.2 kB / 0.5721 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2874, allocations: 79.22 kB / 0.5722 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2874, allocations: 113.2 kB / 0.5723 GB, free: 28.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2874, allocations: 0 / 0.5723 GB, free: 28.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.137e-05/0.2875, allocations: 28.05 kB / 0.5724 GB, free: 28.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.2875, allocations: 128.7 kB / 0.5725 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.2876, allocations: 100.1 kB / 0.5726 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-06/0.2876, allocations: 25.7 kB / 0.5726 GB, free: 28.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.124e-05/0.2876, allocations: 81.2 kB / 0.5727 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-06/0.2876, allocations: 2.234 kB / 0.5727 GB, free: 28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.2876, allocations: 16.36 kB / 0.5727 GB, free: 27.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.182e-05/0.2877, allocations: 313.3 kB / 0.573 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-06/0.2877, allocations: 0 / 0.573 GB, free: 27.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-06/0.2877, allocations: 4.781 kB / 0.573 GB, free: 27.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.04e-05/0.2877, allocations: 81.08 kB / 0.5731 GB, free: 27.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2877, allocations: 76.62 kB / 0.5731 GB, free: 27.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.261e-05/0.2878, allocations: 34.16 kB / 0.5732 GB, free: 27.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2878, allocations: 80.22 kB / 0.5733 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2878, allocations: 80.5 kB / 0.5733 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.2878, allocations: 152.9 kB / 0.5735 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-06/0.2878, allocations: 78.03 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.2879, allocations: 165.9 kB / 0.5737 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.2879, allocations: 75.28 kB / 0.5738 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-06/0.2879, allocations: 82.47 kB / 0.5739 GB, free: 26.79 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.565e-05/0.288, allocations: 259.4 kB / 0.5741 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.288, allocations: 107.4 kB / 0.5742 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.288, allocations: 110.6 kB / 0.5743 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.2881, allocations: 181.8 kB / 0.5745 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/0.2881, allocations: 179 kB / 0.5747 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.2881, allocations: 189 kB / 0.5748 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.2882, allocations: 398.7 kB / 0.5752 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.2882, allocations: 109.7 kB / 0.5753 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.2883, allocations: 106.4 kB / 0.5754 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.2883, allocations: 187.3 kB / 0.5756 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.2883, allocations: 182.4 kB / 0.5758 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/0.2883, allocations: 179 kB / 0.576 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/0.2883, allocations: 185.1 kB / 0.5761 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.673e-05/0.2884, allocations: 305.5 kB / 0.5764 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.2884, allocations: 188.9 kB / 0.5766 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.2885, allocations: 178.9 kB / 0.5768 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.2885, allocations: 107.2 kB / 0.5769 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.2885, allocations: 182.5 kB / 0.577 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2886, allocations: 102.8 kB / 0.5771 GB, free: 23.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.746e-05/0.2886, allocations: 79.97 kB / 0.5772 GB, free: 23.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2886, allocations: 3.938 kB / 0.5772 GB, free: 23.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.2889, allocations: 39.12 kB / 0.5773 GB, free: 23.17 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.0004933/0.2894, allocations: 0.9437 MB / 0.5782 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 3.051e-05/0.2894, allocations: 5.875 kB / 0.5782 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.2894, allocations: 0.5938 kB / 0.5782 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.2894, allocations: 4.656 kB / 0.5782 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2897, allocations: 458.3 kB / 0.5786 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.2903, allocations: 1.553 MB / 0.5801 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.449e-05/0.2904, allocations: 0.6723 MB / 0.5808 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.544e-06/0.2905, allocations: 0.7031 kB / 0.5808 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.2905, allocations: 9.328 kB / 0.5808 GB, free: 19.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2905, allocations: 0 / 0.5808 GB, free: 19.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07725/0.3677, allocations: 1.862 MB / 0.5826 GB, free: 19.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.553/9.921, allocations: 18.69 kB / 0.5826 GB, free: 19.2 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)