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.002009/0.002009, allocations: 112.5 kB / 15.73 MB, free: 76 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.002256/0.002256, allocations: 191.5 kB / 16.67 MB, free: 6.582 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9682/0.9682, allocations: 135.6 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3513, allocations: 81.03 MB / 0.6649 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00177/0.3531, allocations: 1.25 MB / 0.6661 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007489/0.3539, allocations: 0.7402 MB / 0.6668 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.3539, allocations: 4 kB / 0.6668 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.354, allocations: 1.125 kB / 0.6668 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.3542, allocations: 14.61 kB / 0.6668 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.3543, allocations: 41.91 kB / 0.6669 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.4e-05/0.3544, allocations: 28.06 kB / 0.6669 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.3544, allocations: 1.312 kB / 0.6669 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.3545, allocations: 12.45 kB / 0.6669 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3546, allocations: 11.88 kB / 0.6669 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3546, allocations: 5.453 kB / 0.6669 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.908e-05/0.3547, allocations: 12.45 kB / 0.667 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.3547, allocations: 10.09 kB / 0.667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.3547, allocations: 7.75 kB / 0.667 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.729e-05/0.3548, allocations: 21.61 kB / 0.667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3548, allocations: 1.406 kB / 0.667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3548, allocations: 0 / 0.667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.3548, allocations: 3.938 kB / 0.667 GB, free: 5.324 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.0002164/0.3551, allocations: 327.6 kB / 0.6673 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3551, allocations: 8.781 kB / 0.6673 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.295e-05/0.3551, allocations: 115.4 kB / 0.6674 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3552, allocations: 77.66 kB / 0.6675 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/0.3553, allocations: 238.2 kB / 0.6677 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3553, allocations: 152.6 kB / 0.6679 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3553, allocations: 158.9 kB / 0.668 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.464e-05/0.3554, allocations: 102.9 kB / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3554, allocations: 83.22 kB / 0.6682 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3554, allocations: 154.5 kB / 0.6683 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.3554, allocations: 151.9 kB / 0.6685 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.3554, allocations: 150.6 kB / 0.6686 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.3556, allocations: 449.9 kB / 0.6691 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.404e-05/0.3557, allocations: 174.2 kB / 0.6692 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.3557, allocations: 80.14 kB / 0.6693 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3557, allocations: 76.44 kB / 0.6694 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.3557, allocations: 113.8 kB / 0.6695 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3557, allocations: 1.156 kB / 0.6695 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.256e-05/0.3558, allocations: 43.09 kB / 0.6695 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.3558, allocations: 126.7 kB / 0.6697 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.3559, allocations: 109.7 kB / 0.6698 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.3559, allocations: 31 kB / 0.6698 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.3559, allocations: 81.3 kB / 0.6699 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3559, allocations: 0 / 0.6699 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.356, allocations: 22.61 kB / 0.6699 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.356, allocations: 316.1 kB / 0.6702 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.356, allocations: 2.219 kB / 0.6702 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.3561, allocations: 6.125 kB / 0.6702 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.3561, allocations: 21.78 kB / 0.6702 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3561, allocations: 0 / 0.6702 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.655e-05/0.3562, allocations: 39.89 kB / 0.6703 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3562, allocations: 9.438 kB / 0.6703 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3562, allocations: 7.969 kB / 0.6703 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3563, allocations: 128 / 0.6703 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.3563, allocations: 9.094 kB / 0.6703 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3563, allocations: 3.938 kB / 0.6703 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.3564, allocations: 5.438 kB / 0.6703 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3564, allocations: 1.188 kB / 0.6703 GB, free: 1.789 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 5.142e-05/0.3564, allocations: 183.8 kB / 0.6705 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.3565, allocations: 114.2 kB / 0.6706 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.3565, allocations: 117.7 kB / 0.6707 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.3565, allocations: 181.7 kB / 0.6709 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/0.3566, allocations: 177.9 kB / 0.671 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.3566, allocations: 180.2 kB / 0.6712 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3567, allocations: 405.6 kB / 0.6716 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.3567, allocations: 104.9 kB / 0.6717 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.3567, allocations: 110.3 kB / 0.6718 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.092e-05/0.3568, allocations: 185.4 kB / 0.672 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.3569, allocations: 176.3 kB / 0.6721 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.627e-05/0.357, allocations: 181.3 kB / 0.6723 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.523e-05/0.357, allocations: 181.6 kB / 0.6725 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3572, allocations: 312.3 kB / 0.6728 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.3573, allocations: 183.1 kB / 0.673 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.3574, allocations: 181.6 kB / 0.6731 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.3575, allocations: 106.4 kB / 0.6732 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.3576, allocations: 180.5 kB / 0.6734 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.3576, allocations: 114.2 kB / 0.6735 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.3577, allocations: 88.25 kB / 0.6736 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3577, allocations: 1.062 kB / 0.6736 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002237/0.3579, allocations: 4.125 kB / 0.6736 GB, free: 14.21 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.0005692/0.3585, allocations: 0.8219 MB / 0.6744 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.3586, allocations: 8.156 kB / 0.6744 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3586, allocations: 1.312 kB / 0.6744 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.3586, allocations: 0 / 0.6744 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.359, allocations: 462.7 kB / 0.6749 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3601, allocations: 1.287 MB / 0.6761 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3604, allocations: 0.677 MB / 0.6768 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.3604, allocations: 7.875 kB / 0.6768 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.3604, allocations: 13.97 kB / 0.6768 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.3604, allocations: 0 / 0.6768 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.3837, allocations: 1.277 MB / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.086, allocations: 9.781 kB / 0.678 GB, free: 10.2 MB / 0.5137 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)