Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_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.005851/0.005851, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001184/0.001184, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9192/0.9192, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 0.5852 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3809, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002085/0.3831, allocations: 1.241 MB / 0.6654 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3846, allocations: 1.015 MB / 0.6664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.3846, allocations: 1.375 kB / 0.6664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.3847, allocations: 4 kB / 0.6664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.3851, allocations: 115.1 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.3851, allocations: 0 / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.3852, allocations: 1.5 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.3852, allocations: 1.25 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.3852, allocations: 1.656 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3853, allocations: 2.656 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.3854, allocations: 0 / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.3856, allocations: 130.7 kB / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.3856, allocations: 0 / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.426e-05/0.3856, allocations: 5.188 kB / 0.6666 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3858, allocations: 113.7 kB / 0.6667 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3858, allocations: 0 / 0.6667 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3858, allocations: 0 / 0.6667 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.3858, allocations: 0 / 0.6667 GB, free: 5.281 MB / 0.4981 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.0002672/0.3861, allocations: 351.9 kB / 0.6671 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3861, allocations: 9.469 kB / 0.6671 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.3862, allocations: 106 kB / 0.6672 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3862, allocations: 77.44 kB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.3863, allocations: 248.6 kB / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3864, allocations: 150.9 kB / 0.6676 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3864, allocations: 151.9 kB / 0.6678 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.011e-05/0.3864, allocations: 106.1 kB / 0.6679 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3864, allocations: 79.22 kB / 0.668 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3865, allocations: 150.6 kB / 0.6681 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3865, allocations: 163.7 kB / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.3865, allocations: 150.6 kB / 0.6684 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.3867, allocations: 447 kB / 0.6688 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.3867, allocations: 170.5 kB / 0.669 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.3868, allocations: 89.58 kB / 0.6691 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3868, allocations: 79.22 kB / 0.6691 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3868, allocations: 105.8 kB / 0.6692 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3868, allocations: 1.594 kB / 0.6693 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.838e-05/0.3869, allocations: 25.7 kB / 0.6693 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.3869, allocations: 127.9 kB / 0.6694 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.387, allocations: 100.2 kB / 0.6695 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.387, allocations: 30.98 kB / 0.6695 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.132e-05/0.387, allocations: 84.12 kB / 0.6696 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.387, allocations: 0 / 0.6696 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.387, allocations: 11.97 kB / 0.6696 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.3871, allocations: 310.8 kB / 0.6699 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-06/0.3871, allocations: 3.938 kB / 0.6699 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-06/0.3871, allocations: 5.469 kB / 0.6699 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.093e-05/0.3871, allocations: 75.28 kB / 0.67 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3871, allocations: 75.28 kB / 0.6701 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.444e-05/0.3872, allocations: 32.67 kB / 0.6701 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3872, allocations: 80.56 kB / 0.6702 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3872, allocations: 80.22 kB / 0.6702 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.3872, allocations: 163.7 kB / 0.6704 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-06/0.3873, allocations: 79.28 kB / 0.6705 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.3873, allocations: 159.5 kB / 0.6706 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.3873, allocations: 76.66 kB / 0.6707 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3874, allocations: 80.62 kB / 0.6708 GB, free: 0.9375 MB / 0.4981 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 5.106e-05/0.3874, allocations: 260.4 kB / 0.671 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.3875, allocations: 110.2 kB / 0.6711 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.3875, allocations: 121.7 kB / 0.6713 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.3875, allocations: 180.2 kB / 0.6714 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.3875, allocations: 178.1 kB / 0.6716 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/0.3876, allocations: 180.2 kB / 0.6718 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3878, allocations: 403.8 kB / 0.6721 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/0.3879, allocations: 110.3 kB / 0.6723 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.3879, allocations: 104.9 kB / 0.6724 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/0.388, allocations: 177.5 kB / 0.6725 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.388, allocations: 185.5 kB / 0.6727 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.834e-05/0.3881, allocations: 177.6 kB / 0.6729 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.296e-05/0.3881, allocations: 184.3 kB / 0.673 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3882, allocations: 303.5 kB / 0.6733 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.3883, allocations: 195 kB / 0.6735 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.3884, allocations: 181.5 kB / 0.6737 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.3885, allocations: 102.2 kB / 0.6738 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.3885, allocations: 185.4 kB / 0.674 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.3886, allocations: 106.2 kB / 0.6741 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.3886, allocations: 85.39 kB / 0.6742 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 0 / 0.6742 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003168/0.3889, allocations: 40.41 kB / 0.6742 GB, free: 13.27 MB / 0.5137 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.0007569/0.3897, allocations: 0.9405 MB / 0.6751 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.765e-05/0.3898, allocations: 1.594 kB / 0.6751 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3898, allocations: 0 / 0.6751 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.3898, allocations: 0 / 0.6751 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3901, allocations: 462.5 kB / 0.6756 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3912, allocations: 1.557 MB / 0.6771 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.3914, allocations: 0.6729 MB / 0.6777 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.406e-06/0.3914, allocations: 1.375 kB / 0.6777 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.3914, allocations: 9 kB / 0.6777 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3914, allocations: 0 / 0.6777 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.4102, allocations: 1.873 MB / 0.6796 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.584, allocations: 9.094 kB / 0.6796 GB, free: 8.609 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)