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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_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.004886/0.004886, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001362/0.001362, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00247/0.00247, allocations: 289.4 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9434/0.9434, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 95.84 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3673, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001961/0.3693, allocations: 1.23 MB / 0.7671 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3707, allocations: 1.013 MB / 0.7681 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.3707, allocations: 4 kB / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.3707, allocations: 3.938 kB / 0.7681 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.3711, allocations: 111.5 kB / 0.7682 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.3711, allocations: 0 / 0.7682 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.338e-05/0.3711, allocations: 0 / 0.7682 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.3712, allocations: 4 kB / 0.7682 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.3712, allocations: 11.88 kB / 0.7682 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.3713, allocations: 3.984 kB / 0.7682 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-06/0.3713, allocations: 0 / 0.7682 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3715, allocations: 123.8 kB / 0.7684 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-06/0.3715, allocations: 0 / 0.7684 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.357e-06/0.3715, allocations: 0 / 0.7684 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.3717, allocations: 112.8 kB / 0.7685 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3717, allocations: 0 / 0.7685 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3717, allocations: 0 / 0.7685 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3717, allocations: 0 / 0.7685 GB, free: 1.219 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.0003235/0.3721, allocations: 351.1 kB / 0.7688 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3721, allocations: 8.031 kB / 0.7688 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/0.3722, allocations: 106 kB / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.3722, allocations: 80.17 kB / 0.769 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3724, allocations: 251.6 kB / 0.7692 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.3725, allocations: 154.9 kB / 0.7694 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.3725, allocations: 154.9 kB / 0.7695 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.131e-05/0.3726, allocations: 104.9 kB / 0.7696 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.3727, allocations: 75.28 kB / 0.7697 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.3727, allocations: 150.6 kB / 0.7698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/0.3728, allocations: 154.6 kB / 0.77 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.486e-05/0.3729, allocations: 154.6 kB / 0.7701 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.3732, allocations: 449.9 kB / 0.7706 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.3733, allocations: 169.1 kB / 0.7707 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.3733, allocations: 80.14 kB / 0.7708 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.3733, allocations: 83.22 kB / 0.7709 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3734, allocations: 113.8 kB / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.3734, allocations: 0 / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.29e-05/0.3735, allocations: 29.64 kB / 0.771 GB, free: 14.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3735, allocations: 126.7 kB / 0.7711 GB, free: 14.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.3736, allocations: 97.84 kB / 0.7712 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3737, allocations: 25.7 kB / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.3737, allocations: 84.27 kB / 0.7713 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.3737, allocations: 0 / 0.7713 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.3737, allocations: 13.72 kB / 0.7713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3739, allocations: 314.8 kB / 0.7716 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.3739, allocations: 0 / 0.7716 GB, free: 13.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-06/0.3739, allocations: 3.938 kB / 0.7717 GB, free: 13.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.3739, allocations: 75.28 kB / 0.7717 GB, free: 13.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-05/0.374, allocations: 75.28 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.448e-05/0.374, allocations: 41.58 kB / 0.7718 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.3741, allocations: 79.28 kB / 0.7719 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/0.3741, allocations: 75.28 kB / 0.772 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.907e-05/0.3742, allocations: 166.6 kB / 0.7721 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-05/0.3742, allocations: 79.22 kB / 0.7722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.413e-05/0.3743, allocations: 150.6 kB / 0.7724 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.3744, allocations: 83.22 kB / 0.7724 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.3744, allocations: 83.28 kB / 0.7725 GB, free: 12.82 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.0001161/0.3745, allocations: 256.4 kB / 0.7728 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.3746, allocations: 109 kB / 0.7729 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.3747, allocations: 116.1 kB / 0.773 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.137e-05/0.3747, allocations: 184.2 kB / 0.7732 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-05/0.3748, allocations: 184.2 kB / 0.7733 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/0.3749, allocations: 176.3 kB / 0.7735 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3751, allocations: 405.2 kB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/0.3752, allocations: 104.9 kB / 0.774 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.3752, allocations: 105 kB / 0.7741 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.582e-05/0.3753, allocations: 184.2 kB / 0.7743 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.3754, allocations: 184.2 kB / 0.7744 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.295e-05/0.3755, allocations: 180.2 kB / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.667e-05/0.3755, allocations: 180.3 kB / 0.7748 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3757, allocations: 307.8 kB / 0.7751 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.3758, allocations: 186 kB / 0.7753 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/0.3759, allocations: 184.2 kB / 0.7754 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.376, allocations: 101 kB / 0.7755 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.376, allocations: 180.3 kB / 0.7757 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.3761, allocations: 108.9 kB / 0.7758 GB, free: 9.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.3761, allocations: 83.28 kB / 0.7759 GB, free: 9.152 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3761, allocations: 0 / 0.7759 GB, free: 9.152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003736/0.3765, allocations: 35.86 kB / 0.7759 GB, free: 9.117 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.0007742/0.3773, allocations: 0.948 MB / 0.7768 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.454e-05/0.3773, allocations: 11.94 kB / 0.7768 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3774, allocations: 0 / 0.7768 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3774, allocations: 0 / 0.7768 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3778, allocations: 459.6 kB / 0.7773 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.379, allocations: 1.556 MB / 0.7788 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3792, allocations: 0.6729 MB / 0.7795 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.564e-06/0.3793, allocations: 0 / 0.7795 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.3793, allocations: 11.44 kB / 0.7795 GB, free: 5.367 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3793, allocations: 0 / 0.7795 GB, free: 5.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5438/0.9231, allocations: 1.896 MB / 0.7813 GB, free: 3.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/9.646, allocations: 6.938 kB / 0.7813 GB, free: 3.672 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)