Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004423/0.004423, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001121/0.001121, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 290 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9717/0.9717, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 87.86 kB / 0.6815 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3725, allocations: 86.98 MB / 0.7664 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002031/0.3746, allocations: 1.241 MB / 0.7676 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3759, allocations: 1.009 MB / 0.7686 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.3759, allocations: 0 / 0.7686 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.376, allocations: 0 / 0.7686 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.3764, allocations: 111.5 kB / 0.7687 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.895e-06/0.3764, allocations: 4 kB / 0.7687 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.444e-05/0.3764, allocations: 4 kB / 0.7687 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.3765, allocations: 3.984 kB / 0.7687 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.3765, allocations: 3.938 kB / 0.7687 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.3766, allocations: 7.984 kB / 0.7687 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.894e-06/0.3766, allocations: 0 / 0.7687 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.3768, allocations: 127.8 kB / 0.7688 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.288e-06/0.3768, allocations: 0 / 0.7688 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.181e-05/0.3768, allocations: 0 / 0.7688 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.377, allocations: 111.8 kB / 0.7689 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.377, allocations: 0 / 0.7689 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.377, allocations: 4 kB / 0.7689 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.377, allocations: 0 / 0.7689 GB, free: 1.352 MB / 0.5294 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.0002832/0.3773, allocations: 339.1 kB / 0.7693 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3773, allocations: 12.03 kB / 0.7693 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.3774, allocations: 76.22 kB / 0.7694 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3775, allocations: 243.7 kB / 0.7696 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.3776, allocations: 154.9 kB / 0.7697 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.3776, allocations: 154.9 kB / 0.7699 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.242e-05/0.3777, allocations: 113 kB / 0.77 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3777, allocations: 79.22 kB / 0.7701 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.3778, allocations: 150.6 kB / 0.7702 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.3778, allocations: 150.6 kB / 0.7704 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.3779, allocations: 154.6 kB / 0.7705 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.3781, allocations: 449.9 kB / 0.7709 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.21e-05/0.3782, allocations: 173.1 kB / 0.7711 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.3783, allocations: 80.14 kB / 0.7712 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3783, allocations: 83.27 kB / 0.7713 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3783, allocations: 113.8 kB / 0.7714 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3783, allocations: 0 / 0.7714 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.308e-05/0.3784, allocations: 33.61 kB / 0.7714 GB, free: 14.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3784, allocations: 130.6 kB / 0.7715 GB, free: 14.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.3785, allocations: 93.84 kB / 0.7716 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3786, allocations: 29.7 kB / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.3786, allocations: 84.27 kB / 0.7717 GB, free: 14.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.3786, allocations: 0 / 0.7717 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.3786, allocations: 9.719 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.3787, allocations: 314.8 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-06/0.3787, allocations: 0 / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-06/0.3787, allocations: 0 / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.3788, allocations: 79.28 kB / 0.7721 GB, free: 13.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.3788, allocations: 75.28 kB / 0.7722 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.976e-05/0.3788, allocations: 33.64 kB / 0.7722 GB, free: 13.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.3789, allocations: 83.28 kB / 0.7723 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.3789, allocations: 79.22 kB / 0.7724 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.977e-05/0.379, allocations: 158.6 kB / 0.7725 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.379, allocations: 79.22 kB / 0.7726 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-05/0.3791, allocations: 158.6 kB / 0.7727 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.3791, allocations: 79.28 kB / 0.7728 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.3791, allocations: 79.22 kB / 0.7729 GB, free: 13.08 MB / 0.545 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 0.000103/0.3793, allocations: 258.8 kB / 0.7731 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.3793, allocations: 109.1 kB / 0.7732 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.3794, allocations: 116 kB / 0.7733 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/0.3794, allocations: 180.3 kB / 0.7735 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.445e-05/0.3795, allocations: 180.3 kB / 0.7737 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/0.3795, allocations: 184.2 kB / 0.7739 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3797, allocations: 401.2 kB / 0.7743 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/0.3798, allocations: 104.9 kB / 0.7744 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.3798, allocations: 112.9 kB / 0.7745 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.093e-05/0.3799, allocations: 180.3 kB / 0.7746 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.3799, allocations: 184.2 kB / 0.7748 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.237e-05/0.38, allocations: 176.3 kB / 0.775 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.818e-05/0.38, allocations: 188.2 kB / 0.7752 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.3802, allocations: 303.8 kB / 0.7754 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.3802, allocations: 190 kB / 0.7756 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.3803, allocations: 180.3 kB / 0.7758 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.3804, allocations: 108.9 kB / 0.7759 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.3804, allocations: 184.3 kB / 0.7761 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.3805, allocations: 104.9 kB / 0.7762 GB, free: 9.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.3805, allocations: 83.27 kB / 0.7763 GB, free: 9.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3805, allocations: 0 / 0.7763 GB, free: 9.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002968/0.3808, allocations: 36 kB / 0.7763 GB, free: 9.371 MB / 0.545 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.0004344/0.3813, allocations: 316.2 kB / 0.7766 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.01e-05/0.3813, allocations: 0 / 0.7766 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3813, allocations: 0 / 0.7766 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.3813, allocations: 0 / 0.7766 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3816, allocations: 460.6 kB / 0.777 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.3818, allocations: 168.8 kB / 0.7772 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.382, allocations: 0.6729 MB / 0.7778 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.504e-06/0.382, allocations: 0 / 0.7778 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.3821, allocations: 7.438 kB / 0.7779 GB, free: 7.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3821, allocations: 4 kB / 0.7779 GB, free: 7.727 MB / 0.545 GB Notification: Performance of Templates: time 0.002777/0.3849, allocations: 1.001 MB / 0.7788 GB, free: 6.766 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)