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.001073/0.001073, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008109/0.0008109, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9798/0.9798, allocations: 230.6 MB / 256 MB, free: 9.809 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.8389/0.8389, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0009974/0.0009974, allocations: 66.89 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5466, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001633/0.5482, allocations: 1.316 MB / 0.8192 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.5499, allocations: 1.576 MB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.55, allocations: 6.531 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.55, allocations: 4 kB / 0.8207 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.5502, allocations: 11.98 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.5506, allocations: 213.2 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.5507, allocations: 26 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.5507, allocations: 2.641 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.5509, allocations: 24.5 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.5509, allocations: 13.61 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.5509, allocations: 0 / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.5512, allocations: 177.3 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.5512, allocations: 2.625 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.5512, allocations: 8.625 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.5514, allocations: 140.6 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5514, allocations: 9.188 kB / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5514, allocations: 0 / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5514, allocations: 0 / 0.8213 GB, free: 14.99 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.0002892/0.5517, allocations: 294.1 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5517, allocations: 8.719 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.5518, allocations: 108.1 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.5518, allocations: 77.81 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.552, allocations: 193.7 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.552, allocations: 156.8 kB / 0.8221 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.552, allocations: 157.1 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.61e-05/0.5521, allocations: 101.5 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.5521, allocations: 78.69 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.5521, allocations: 154.5 kB / 0.8226 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.5522, allocations: 155.1 kB / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.5522, allocations: 154.6 kB / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.5524, allocations: 433.4 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.5525, allocations: 171.1 kB / 0.8234 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.5525, allocations: 84.7 kB / 0.8235 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.5525, allocations: 75.28 kB / 0.8236 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.5526, allocations: 108.1 kB / 0.8237 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.5526, allocations: 0 / 0.8237 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.703e-05/0.5526, allocations: 39.89 kB / 0.8237 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.5527, allocations: 132.2 kB / 0.8239 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.5528, allocations: 103.2 kB / 0.824 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5528, allocations: 30.36 kB / 0.824 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.5528, allocations: 83.36 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.5528, allocations: 0 / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.5529, allocations: 20.69 kB / 0.8241 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.5529, allocations: 314.5 kB / 0.8244 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.5529, allocations: 5.219 kB / 0.8244 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.553, allocations: 24.47 kB / 0.8244 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.553, allocations: 32.06 kB / 0.8245 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.553, allocations: 0 / 0.8245 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.806e-05/0.5531, allocations: 49.89 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5531, allocations: 6.812 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5531, allocations: 0 / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5531, allocations: 8.688 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.5532, allocations: 2.547 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5532, allocations: 1.469 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.5533, allocations: 13.58 kB / 0.8245 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.5533, allocations: 4.297 kB / 0.8245 GB, free: 11.61 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 7.741e-05/0.5534, allocations: 192.2 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.5534, allocations: 116.1 kB / 0.8248 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.5535, allocations: 112.5 kB / 0.8249 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.664e-05/0.5535, allocations: 182.9 kB / 0.8251 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-05/0.5536, allocations: 177.7 kB / 0.8253 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-05/0.5536, allocations: 185.9 kB / 0.8255 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.5538, allocations: 379.6 kB / 0.8258 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/0.5538, allocations: 101.6 kB / 0.8259 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.5538, allocations: 109.6 kB / 0.826 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-05/0.5538, allocations: 177.7 kB / 0.8262 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003228/0.5542, allocations: 182.6 kB / 0.8264 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.92e-05/0.5542, allocations: 182.7 kB / 0.8265 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.728e-05/0.5542, allocations: 176.9 kB / 0.8267 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.755e-05/0.5543, allocations: 310.7 kB / 0.827 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.5544, allocations: 112.6 kB / 0.8271 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.5544, allocations: 177.2 kB / 0.8273 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.5545, allocations: 115.3 kB / 0.8274 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.5545, allocations: 184.8 kB / 0.8276 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.5545, allocations: 103.4 kB / 0.8277 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.5546, allocations: 86.75 kB / 0.8277 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5546, allocations: 0 / 0.8277 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002391/0.5548, allocations: 52.47 kB / 0.8278 GB, free: 8.152 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.0006213/0.5554, allocations: 0.9726 MB / 0.8287 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.51e-05/0.5555, allocations: 5.344 kB / 0.8288 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5555, allocations: 0 / 0.8288 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-06/0.5555, allocations: 3.938 kB / 0.8288 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.5558, allocations: 470 kB / 0.8292 GB, free: 6.836 MB / 0.6198 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.5568, allocations: 1.349 MB / 0.8305 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.557, allocations: 0.6733 MB / 0.8312 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.557, allocations: 6.188 kB / 0.8312 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.557, allocations: 17.03 kB / 0.8312 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of SimCode: time 5.1e-07/0.557, allocations: 0 / 0.8312 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4188/0.9758, allocations: 2.711 MB / 0.8338 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/7.711, allocations: 10.05 kB / 0.8339 GB, free: 4.195 MB / 0.6198 GB " [Timeout remaining time 640] (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: 25.63627903093584] Failed to read output from testmodel.py, exit status != 0: 20.420078345108777 20.43632836 19.881632058 Calling exit ...