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.004772/0.004772, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001261/0.001261, allocations: 197.1 kB / 16.67 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 63.91 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3462, allocations: 80.2 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001818/0.3481, allocations: 1.269 MB / 0.6604 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.3489, allocations: 0.747 MB / 0.6612 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.3489, allocations: 1.25 kB / 0.6612 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.3489, allocations: 0.7031 kB / 0.6612 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.3491, allocations: 8.312 kB / 0.6612 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3493, allocations: 56.52 kB / 0.6612 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.676e-05/0.3494, allocations: 20.31 kB / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.3494, allocations: 2.031 kB / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.3495, allocations: 16.64 kB / 0.6613 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3496, allocations: 11.17 kB / 0.6613 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.3496, allocations: 3.938 kB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.092e-05/0.3496, allocations: 11.98 kB / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.3497, allocations: 7.203 kB / 0.6613 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.3497, allocations: 7.859 kB / 0.6613 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.262e-05/0.3498, allocations: 29.97 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3498, allocations: 0.7031 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3498, allocations: 0 / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3498, allocations: 0 / 0.6613 GB, free: 8.336 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.0002378/0.3501, allocations: 327.7 kB / 0.6617 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3501, allocations: 10.33 kB / 0.6617 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.023e-05/0.3501, allocations: 107.5 kB / 0.6618 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3502, allocations: 80.22 kB / 0.6618 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.361e-05/0.3503, allocations: 248 kB / 0.6621 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3503, allocations: 151.6 kB / 0.6622 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3503, allocations: 152.4 kB / 0.6624 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.383e-05/0.3504, allocations: 106.7 kB / 0.6625 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3504, allocations: 79.97 kB / 0.6625 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3504, allocations: 150.6 kB / 0.6627 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.3504, allocations: 154.6 kB / 0.6628 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.3504, allocations: 151.9 kB / 0.663 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.3506, allocations: 453.9 kB / 0.6634 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.054e-05/0.3506, allocations: 174.4 kB / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.3507, allocations: 84.14 kB / 0.6637 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3507, allocations: 79.97 kB / 0.6637 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.3507, allocations: 107.1 kB / 0.6638 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3507, allocations: 0 / 0.6638 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.089e-05/0.3508, allocations: 33.06 kB / 0.6639 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.3508, allocations: 130.6 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.3509, allocations: 109.7 kB / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.3509, allocations: 27.92 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.849e-05/0.3509, allocations: 84.14 kB / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.3509, allocations: 0 / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.351, allocations: 18.69 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.301e-05/0.351, allocations: 312.3 kB / 0.6645 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.351, allocations: 2.75 kB / 0.6645 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.3511, allocations: 12.39 kB / 0.6645 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/0.3511, allocations: 18.19 kB / 0.6646 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3511, allocations: 1.062 kB / 0.6646 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.389e-05/0.3512, allocations: 38.5 kB / 0.6646 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3512, allocations: 13.34 kB / 0.6646 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3512, allocations: 3.938 kB / 0.6646 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3512, allocations: 3.938 kB / 0.6646 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.3512, allocations: 2.188 kB / 0.6646 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.3512, allocations: 0 / 0.6646 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.3513, allocations: 6.422 kB / 0.6646 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3513, allocations: 5.828 kB / 0.6646 GB, free: 4.844 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 4.845e-05/0.3514, allocations: 189 kB / 0.6648 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3514, allocations: 111.3 kB / 0.6649 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.3514, allocations: 115.3 kB / 0.665 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.3515, allocations: 178.8 kB / 0.6652 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.3515, allocations: 184.8 kB / 0.6654 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.3515, allocations: 186.2 kB / 0.6656 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3516, allocations: 400.3 kB / 0.6659 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.3517, allocations: 105.7 kB / 0.666 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.3517, allocations: 106.9 kB / 0.6661 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.3517, allocations: 182 kB / 0.6663 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3517, allocations: 186 kB / 0.6665 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/0.3517, allocations: 178.8 kB / 0.6667 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-05/0.3518, allocations: 181 kB / 0.6668 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.109e-05/0.3518, allocations: 305.9 kB / 0.6671 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.3519, allocations: 189.2 kB / 0.6673 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3519, allocations: 182.2 kB / 0.6675 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.3519, allocations: 107.3 kB / 0.6676 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.352, allocations: 182.2 kB / 0.6678 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.352, allocations: 105.7 kB / 0.6679 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.352, allocations: 82.33 kB / 0.6679 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.352, allocations: 5.156 kB / 0.6679 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002061/0.3522, allocations: 6.594 kB / 0.6679 GB, free: 1.273 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.000294/0.3525, allocations: 0.8179 MB / 0.6687 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.184e-05/0.3526, allocations: 10.34 kB / 0.6687 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3526, allocations: 0 / 0.6687 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.3526, allocations: 6.016 kB / 0.6688 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.3529, allocations: 457.7 kB / 0.6692 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009985/0.3539, allocations: 1.302 MB / 0.6705 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3542, allocations: 0.678 MB / 0.6711 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.3542, allocations: 1.156 kB / 0.6711 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.3542, allocations: 9.469 kB / 0.6711 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.3542, allocations: 0 / 0.6711 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04159/0.3958, allocations: 1.269 MB / 0.6724 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.69, allocations: 14.5 kB / 0.6724 GB, free: 13.54 MB / 0.5137 GB (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)