Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007242/0.0007242, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007705/0.0007705, allocations: 211.6 kB / 22.25 MB, free: 3.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9271/0.9271, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7729/0.7729, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008818/0.0008818, allocations: 74.86 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.463, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001851/0.4648, allocations: 1.307 MB / 0.8191 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4667, allocations: 1.522 MB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.4667, allocations: 0 / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.4668, allocations: 0 / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.467, allocations: 20.62 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.4675, allocations: 217.7 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.4676, allocations: 23.86 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.4676, allocations: 6.172 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.4677, allocations: 22.09 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.4678, allocations: 10.03 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.4678, allocations: 0 / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.468, allocations: 154.7 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.468, allocations: 5.953 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.4681, allocations: 9.531 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.4683, allocations: 139.2 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4683, allocations: 0 / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4683, allocations: 0 / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4683, allocations: 7.594 kB / 0.8212 GB, free: 14.86 MB / 0.6198 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.0003292/0.4686, allocations: 295.7 kB / 0.8214 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4687, allocations: 9.312 kB / 0.8214 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.4687, allocations: 110 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.4688, allocations: 82.78 kB / 0.8216 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4689, allocations: 186.3 kB / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.4689, allocations: 153.4 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.469, allocations: 158.1 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.549e-05/0.469, allocations: 101.7 kB / 0.8222 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.4691, allocations: 79.27 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.4691, allocations: 151.9 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.4691, allocations: 155.2 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.4692, allocations: 159.6 kB / 0.8227 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.4694, allocations: 423.2 kB / 0.8231 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.4695, allocations: 170.2 kB / 0.8233 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.4695, allocations: 82.28 kB / 0.8234 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4695, allocations: 75.28 kB / 0.8234 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4696, allocations: 115.7 kB / 0.8235 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.4696, allocations: 1.312 kB / 0.8235 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.964e-05/0.4696, allocations: 31.67 kB / 0.8236 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.4697, allocations: 128.8 kB / 0.8237 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4698, allocations: 106.6 kB / 0.8238 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.4698, allocations: 27.14 kB / 0.8238 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.4698, allocations: 84.2 kB / 0.8239 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.4698, allocations: 0 / 0.8239 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.4699, allocations: 20.81 kB / 0.8239 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.4699, allocations: 313.4 kB / 0.8242 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.47, allocations: 5.891 kB / 0.8242 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.47, allocations: 106.6 kB / 0.8243 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.4701, allocations: 33.62 kB / 0.8244 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4701, allocations: 0 / 0.8244 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001199/0.4702, allocations: 53.14 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4702, allocations: 5.094 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4702, allocations: 1.719 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4702, allocations: 1.219 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.4703, allocations: 6.141 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4703, allocations: 3.938 kB / 0.8244 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.4704, allocations: 8.031 kB / 0.8244 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4704, allocations: 6.641 kB / 0.8244 GB, free: 11.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.939e-05/0.4705, allocations: 197.3 kB / 0.8246 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.4705, allocations: 115.1 kB / 0.8247 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.4706, allocations: 116.1 kB / 0.8249 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.891e-05/0.4706, allocations: 176.8 kB / 0.825 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.186e-05/0.4707, allocations: 178.2 kB / 0.8252 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/0.4708, allocations: 186.2 kB / 0.8254 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4709, allocations: 383 kB / 0.8257 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.4709, allocations: 109 kB / 0.8258 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.471, allocations: 105.5 kB / 0.8259 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.481e-05/0.471, allocations: 180.8 kB / 0.8261 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.4711, allocations: 187.4 kB / 0.8263 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.234e-05/0.4711, allocations: 176.9 kB / 0.8265 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.492e-05/0.4712, allocations: 183.2 kB / 0.8266 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.4713, allocations: 307.1 kB / 0.8269 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.4713, allocations: 108.5 kB / 0.827 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.4714, allocations: 177.9 kB / 0.8272 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.4714, allocations: 108.4 kB / 0.8273 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.4715, allocations: 179.1 kB / 0.8275 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.4715, allocations: 104.5 kB / 0.8276 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.4715, allocations: 86.72 kB / 0.8277 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4715, allocations: 4 kB / 0.8277 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002818/0.4718, allocations: 52.97 kB / 0.8277 GB, free: 7.938 MB / 0.6198 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.0006629/0.4725, allocations: 0.9743 MB / 0.8287 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.721e-05/0.4726, allocations: 12.59 kB / 0.8287 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4726, allocations: 0 / 0.8287 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.4726, allocations: 0 / 0.8287 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.4728, allocations: 467.2 kB / 0.8291 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.4737, allocations: 1.36 MB / 0.8305 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.4737, allocations: 58.22 kB / 0.8305 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.4737, allocations: 3.078 kB / 0.8305 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.4738, allocations: 9.438 kB / 0.8305 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4738, allocations: 0 / 0.8305 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4966, allocations: 3.138 MB / 0.8336 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.576/7.072, allocations: 8.359 kB / 0.8336 GB, free: 4.18 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.877976374700665] Failed to read output from testmodel.py, exit status != 0: 7.1875484474003315 7.201673173 6.73111197 Calling exit ...