Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001872/0.001872, allocations: 108 kB / 15.6 MB, free: 132 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.002185/0.002185, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.375/2.375, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.526/1.526, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 61.41 kB / 0.5055 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.26, allocations: 80.92 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.004147/0.2642, allocations: 1.251 MB / 0.5857 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2659, allocations: 0.7326 MB / 0.5864 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.266, allocations: 0 / 0.5864 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.266, allocations: 3.938 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.2663, allocations: 19.97 kB / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2667, allocations: 42.75 kB / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.2668, allocations: 27.86 kB / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.2668, allocations: 8 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.2669, allocations: 15.97 kB / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2671, allocations: 4 kB / 0.5865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.2672, allocations: 0 / 0.5865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.2672, allocations: 11.98 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.2673, allocations: 15.92 kB / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.2674, allocations: 4 kB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2675, allocations: 23.84 kB / 0.5866 GB, free: 2.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.2675, allocations: 4 kB / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2675, allocations: 0 / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2676, allocations: 0 / 0.5866 GB, free: 2.246 MB / 494.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.0004703/0.268, allocations: 331.7 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2681, allocations: 11.97 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.2682, allocations: 110 kB / 0.587 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2683, allocations: 84.22 kB / 0.5871 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2685, allocations: 239.7 kB / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-05/0.2686, allocations: 150.9 kB / 0.5875 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.37e-05/0.2687, allocations: 158.9 kB / 0.5876 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.2688, allocations: 101.5 kB / 0.5877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.2689, allocations: 79.22 kB / 0.5878 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.269, allocations: 158.5 kB / 0.588 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.401e-05/0.2691, allocations: 154.5 kB / 0.5881 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.099e-05/0.2691, allocations: 150.6 kB / 0.5882 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.2737, allocations: 453.8 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2738, allocations: 173.2 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.2739, allocations: 80.14 kB / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.274, allocations: 83.22 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.808e-05/0.2741, allocations: 109.8 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.2741, allocations: 0 / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001344/0.2742, allocations: 33.62 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.2743, allocations: 134.6 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.2745, allocations: 105.8 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2746, allocations: 29.7 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.2746, allocations: 80.14 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-06/0.2747, allocations: 0 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.2747, allocations: 17.72 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2749, allocations: 314.8 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.275, allocations: 4 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.275, allocations: 15.94 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.2751, allocations: 20.84 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2751, allocations: 0 / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001745/0.2753, allocations: 37.69 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.2753, allocations: 11.94 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2754, allocations: 0 / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2754, allocations: 0 / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.2754, allocations: 0 / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2754, allocations: 4.109 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.2756, allocations: 4 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.2756, allocations: 4 kB / 0.5899 GB, free: 14.62 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001391/0.2758, allocations: 181.1 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2759, allocations: 116.8 kB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.276, allocations: 112.5 kB / 0.5903 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.276e-05/0.2761, allocations: 180.2 kB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.471e-05/0.2762, allocations: 184.3 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.354e-05/0.2763, allocations: 180.2 kB / 0.5908 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.2766, allocations: 409.4 kB / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.844e-05/0.2767, allocations: 105 kB / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.2768, allocations: 105.1 kB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.988e-05/0.2769, allocations: 188.2 kB / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.291e-05/0.277, allocations: 184.3 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.101e-05/0.2771, allocations: 184.2 kB / 0.5919 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.101e-05/0.2772, allocations: 176.3 kB / 0.5921 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.2774, allocations: 311.8 kB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.2775, allocations: 186 kB / 0.5926 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2776, allocations: 184.2 kB / 0.5927 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2778, allocations: 101 kB / 0.5928 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2779, allocations: 188.1 kB / 0.593 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.278, allocations: 105 kB / 0.5931 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.2781, allocations: 87.28 kB / 0.5932 GB, free: 11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2781, allocations: 0 / 0.5932 GB, free: 11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004577/0.2786, allocations: 4 kB / 0.5932 GB, free: 11 MB / 0.4981 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.0008459/0.2794, allocations: 0.8294 MB / 0.594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.365e-05/0.2795, allocations: 4 kB / 0.594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2796, allocations: 0 / 0.594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/0.2796, allocations: 0 / 0.594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.2802, allocations: 457.8 kB / 0.5945 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2819, allocations: 1.295 MB / 0.5957 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.2823, allocations: 0.6806 MB / 0.5964 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.2823, allocations: 0 / 0.5964 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.2823, allocations: 11.44 kB / 0.5964 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2824, allocations: 0 / 0.5964 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/0.4332, allocations: 1.245 MB / 0.5976 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/17.39, allocations: 17.95 kB / 0.5976 GB, free: 6.48 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)