Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_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.0009622/0.0009621, 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.001125/0.001125, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7206/0.7206, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 65.12 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3544, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002234/0.3567, allocations: 1.263 MB / 0.5814 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000914/0.3576, allocations: 0.7428 MB / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.3577, allocations: 1.688 kB / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.3577, allocations: 4.547 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.3579, allocations: 15.75 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.3581, allocations: 43.86 kB / 0.5822 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.3582, allocations: 27.52 kB / 0.5822 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.3582, allocations: 6.031 kB / 0.5822 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.3583, allocations: 13.05 kB / 0.5823 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.3584, allocations: 11.92 kB / 0.5823 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3584, allocations: 0 / 0.5823 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.598e-05/0.3585, allocations: 9.234 kB / 0.5823 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.3585, allocations: 12.53 kB / 0.5823 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.3586, allocations: 8.156 kB / 0.5823 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.595e-05/0.3587, allocations: 22.56 kB / 0.5823 GB, free: 3.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3587, allocations: 0.75 kB / 0.5823 GB, free: 3.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3587, allocations: 0 / 0.5823 GB, free: 3.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3587, allocations: 0 / 0.5823 GB, free: 3.082 MB / 430.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.0002478/0.359, allocations: 335.3 kB / 0.5826 GB, free: 2.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.359, allocations: 9.812 kB / 0.5826 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.209e-05/0.359, allocations: 107.4 kB / 0.5828 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.3591, allocations: 76.83 kB / 0.5828 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.3592, allocations: 247.4 kB / 0.5831 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.3592, allocations: 150.9 kB / 0.5832 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3592, allocations: 157.5 kB / 0.5834 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.299e-05/0.3593, allocations: 109.5 kB / 0.5835 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3593, allocations: 85.53 kB / 0.5835 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.3593, allocations: 150.6 kB / 0.5837 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.3593, allocations: 150.6 kB / 0.5838 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.3594, allocations: 151.5 kB / 0.584 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.3595, allocations: 457.3 kB / 0.5844 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.624e-05/0.3596, allocations: 170.5 kB / 0.5846 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.3596, allocations: 81.42 kB / 0.5846 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3596, allocations: 75.28 kB / 0.5847 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3596, allocations: 111.4 kB / 0.5848 GB, free: 384 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3596, allocations: 0 / 0.5848 GB, free: 384 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.032e-05/0.3597, allocations: 36.34 kB / 0.5849 GB, free: 344 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.3597, allocations: 127.4 kB / 0.585 GB, free: 204 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.3598, allocations: 110.6 kB / 0.5851 GB, free: 96 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.3598, allocations: 25.7 kB / 0.5851 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.3599, allocations: 81.7 kB / 0.5852 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.3599, allocations: 7.875 kB / 0.5852 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3599, allocations: 21.23 kB / 0.5852 GB, free: 15.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.36, allocations: 316.5 kB / 0.5855 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.36, allocations: 3.609 kB / 0.5855 GB, free: 15.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.3601, allocations: 12.69 kB / 0.5855 GB, free: 15.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.3601, allocations: 13.58 kB / 0.5855 GB, free: 15.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3601, allocations: 0 / 0.5855 GB, free: 15.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.558e-05/0.3602, allocations: 43.62 kB / 0.5856 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3602, allocations: 8.344 kB / 0.5856 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3602, allocations: 5.328 kB / 0.5856 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3602, allocations: 1.406 kB / 0.5856 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3603, allocations: 0 / 0.5856 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3603, allocations: 8.531 kB / 0.5856 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.3603, allocations: 2.141 kB / 0.5856 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.3604, allocations: 2.062 kB / 0.5856 GB, free: 15.57 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 (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 8.486e-05/0.3605, allocations: 186.1 kB / 0.5858 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.3605, allocations: 115.2 kB / 0.5859 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3606, allocations: 106.7 kB / 0.586 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-05/0.3606, allocations: 186.2 kB / 0.5862 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.436e-05/0.3607, allocations: 182 kB / 0.5864 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.453e-05/0.3607, allocations: 182.2 kB / 0.5865 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.361, allocations: 403 kB / 0.5869 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/0.361, allocations: 107 kB / 0.587 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.3611, allocations: 106.3 kB / 0.5871 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.9e-05/0.3611, allocations: 181.5 kB / 0.5873 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.3612, allocations: 182.3 kB / 0.5875 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.578e-05/0.3612, allocations: 178.4 kB / 0.5876 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.466e-05/0.3613, allocations: 189.8 kB / 0.5878 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3615, allocations: 298.3 kB / 0.5881 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.3616, allocations: 184.8 kB / 0.5883 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.3616, allocations: 190.1 kB / 0.5885 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3618, allocations: 102.2 kB / 0.5886 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.3618, allocations: 186.5 kB / 0.5887 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.3619, allocations: 106.5 kB / 0.5888 GB, free: 12.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.3619, allocations: 90.64 kB / 0.5889 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3619, allocations: 0 / 0.5889 GB, free: 12.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.3622, allocations: 3.688 kB / 0.5889 GB, free: 12.02 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.0005043/0.3627, allocations: 0.8318 MB / 0.5897 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.974e-05/0.3627, allocations: 6.75 kB / 0.5897 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3627, allocations: 0 / 0.5897 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.3627, allocations: 0.7031 kB / 0.5897 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3631, allocations: 460.9 kB / 0.5902 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.3639, allocations: 1.296 MB / 0.5915 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3642, allocations: 0.6751 MB / 0.5921 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.584e-05/0.3642, allocations: 2.812 kB / 0.5921 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.3642, allocations: 8.094 kB / 0.5921 GB, free: 8.723 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3642, allocations: 0.9688 kB / 0.5921 GB, free: 8.723 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/0.5168, allocations: 1.229 MB / 0.5933 GB, free: 8.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.805, allocations: 8.344 kB / 0.5933 GB, free: 8.398 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)