Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.009311/0.009311, allocations: 103 kB / 15.73 MB, free: 6.035 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.002158/0.002158, allocations: 190 kB / 16.67 MB, free: 5.965 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9539/0.9539, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.89 kB / 0.5852 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4541, allocations: 80.9 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002459/0.4566, allocations: 1.254 MB / 0.6654 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.4578, allocations: 0.7245 MB / 0.6661 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.4579, allocations: 0 / 0.6661 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.4579, allocations: 1.5 kB / 0.6661 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.4582, allocations: 24.03 kB / 0.6661 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 8.684e-05/0.4583, allocations: 1.438 kB / 0.6661 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.4583, allocations: 4.75 kB / 0.6661 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.4584, allocations: 1.406 kB / 0.6661 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.4584, allocations: 2.844 kB / 0.6661 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.4586, allocations: 7.453 kB / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.4586, allocations: 4 kB / 0.6661 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.405e-05/0.4586, allocations: 12.86 kB / 0.6661 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.4587, allocations: 6.75 kB / 0.6662 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.4587, allocations: 9.484 kB / 0.6662 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.818e-05/0.4588, allocations: 9.422 kB / 0.6662 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4588, allocations: 0 / 0.6662 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4588, allocations: 1.312 kB / 0.6662 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4588, allocations: 0 / 0.6662 GB, free: 5.664 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.0002874/0.4591, allocations: 319.6 kB / 0.6665 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4592, allocations: 14.12 kB / 0.6665 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.4592, allocations: 110 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.4593, allocations: 77.5 kB / 0.6667 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4594, allocations: 240.8 kB / 0.6669 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.4594, allocations: 156 kB / 0.667 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.4595, allocations: 152.2 kB / 0.6672 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.141e-05/0.4595, allocations: 109.5 kB / 0.6673 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.4595, allocations: 84.41 kB / 0.6674 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.4596, allocations: 154.5 kB / 0.6675 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.4596, allocations: 154.6 kB / 0.6677 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.4596, allocations: 151.8 kB / 0.6678 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.4598, allocations: 448.6 kB / 0.6682 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.593e-05/0.4599, allocations: 174.4 kB / 0.6684 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.4599, allocations: 80.14 kB / 0.6685 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.4599, allocations: 75.28 kB / 0.6686 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4599, allocations: 107.7 kB / 0.6687 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4599, allocations: 4 kB / 0.6687 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.904e-05/0.46, allocations: 30.86 kB / 0.6687 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.46, allocations: 126.7 kB / 0.6688 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.4601, allocations: 107.8 kB / 0.6689 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.4601, allocations: 25.7 kB / 0.6689 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.4602, allocations: 81.27 kB / 0.669 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.4602, allocations: 0 / 0.669 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.4602, allocations: 12.66 kB / 0.669 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.4602, allocations: 318.8 kB / 0.6693 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.4603, allocations: 0 / 0.6693 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.4603, allocations: 1.688 kB / 0.6693 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.247e-05/0.4603, allocations: 76.59 kB / 0.6694 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4603, allocations: 75.28 kB / 0.6695 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.683e-05/0.4604, allocations: 36.22 kB / 0.6695 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4604, allocations: 84.34 kB / 0.6696 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4604, allocations: 80.38 kB / 0.6697 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4604, allocations: 155.9 kB / 0.6698 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.005e-05/0.4604, allocations: 76.47 kB / 0.6699 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.4605, allocations: 158.5 kB / 0.67 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.4606, allocations: 85.69 kB / 0.6701 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4606, allocations: 84.36 kB / 0.6702 GB, free: 1.332 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 6.593e-05/0.4607, allocations: 265.4 kB / 0.6705 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.4607, allocations: 106.3 kB / 0.6706 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.4607, allocations: 109.2 kB / 0.6707 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.4608, allocations: 181.6 kB / 0.6708 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/0.4608, allocations: 184.2 kB / 0.671 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/0.4608, allocations: 181.7 kB / 0.6712 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.461, allocations: 400 kB / 0.6716 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.4611, allocations: 112.9 kB / 0.6717 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.4611, allocations: 106.1 kB / 0.6718 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.121e-05/0.4612, allocations: 181.5 kB / 0.672 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.624e-05/0.4613, allocations: 181.5 kB / 0.6721 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-05/0.4614, allocations: 182 kB / 0.6723 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-05/0.4614, allocations: 188.1 kB / 0.6725 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.4616, allocations: 303.9 kB / 0.6728 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.4617, allocations: 187.3 kB / 0.6729 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.4618, allocations: 185.8 kB / 0.6731 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.4619, allocations: 104.9 kB / 0.6732 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.462, allocations: 181.7 kB / 0.6734 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.462, allocations: 102.5 kB / 0.6735 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.4621, allocations: 83.55 kB / 0.6736 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4621, allocations: 3.938 kB / 0.6736 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002763/0.4624, allocations: 1.281 kB / 0.6736 GB, free: 13.68 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.0005676/0.4629, allocations: 0.8173 MB / 0.6744 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.925e-05/0.463, allocations: 5.141 kB / 0.6744 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.463, allocations: 0 / 0.6744 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.463, allocations: 9.375 kB / 0.6744 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.4634, allocations: 458.5 kB / 0.6748 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.4649, allocations: 1.574 MB / 0.6764 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4652, allocations: 0.672 MB / 0.677 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.4652, allocations: 1.438 kB / 0.677 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.4652, allocations: 16.83 kB / 0.677 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.4652, allocations: 0 / 0.677 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.4852, allocations: 1.192 MB / 0.6782 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.75, allocations: 8.469 kB / 0.6782 GB, free: 9.441 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)