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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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"}) 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: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9384/0.9384, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 395.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008833, allocations: 108.4 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.603e-05, allocations: 8 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3934, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.5375, allocations: 113 MB / 0.7443 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5378, allocations: 87.94 kB / 0.7444 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.5543, allocations: 5.652 MB / 0.7499 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5543, allocations: 0 / 0.7499 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.5543, allocations: 4 kB / 0.7499 GB, free: 3.934 MB / 0.5261 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.0004585/0.5548, allocations: 370.5 kB / 0.7503 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5549, allocations: 8.031 kB / 0.7503 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.5549, allocations: 79.19 kB / 0.7503 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.5551, allocations: 242.3 kB / 0.7506 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.5552, allocations: 154.6 kB / 0.7507 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.5553, allocations: 154.5 kB / 0.7509 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.687e-05/0.5554, allocations: 158.6 kB / 0.751 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.294e-05/0.5554, allocations: 104.9 kB / 0.7511 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.5554, allocations: 75.28 kB / 0.7512 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.5555, allocations: 150.6 kB / 0.7513 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.5556, allocations: 154.5 kB / 0.7515 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.5559, allocations: 438.4 kB / 0.7519 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.556, allocations: 169.1 kB / 0.7521 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.556, allocations: 80.14 kB / 0.7521 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.5561, allocations: 79.22 kB / 0.7522 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.5561, allocations: 121.8 kB / 0.7523 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.5561, allocations: 0 / 0.7523 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.53e-05/0.5562, allocations: 25.7 kB / 0.7524 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.5562, allocations: 51.41 kB / 0.7524 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.5563, allocations: 101 kB / 0.7525 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.5564, allocations: 25.7 kB / 0.7525 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.5564, allocations: 80.14 kB / 0.7526 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.5564, allocations: 0 / 0.7526 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.5564, allocations: 0 / 0.7526 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5566, allocations: 318.8 kB / 0.7529 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.5566, allocations: 0 / 0.7529 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.5566, allocations: 26.56 kB / 0.7529 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.5568, allocations: 19.92 kB / 0.7529 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.5568, allocations: 0 / 0.7529 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001984/0.557, allocations: 65.62 kB / 0.753 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.557, allocations: 8 kB / 0.753 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5571, allocations: 0 / 0.753 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5571, allocations: 0 / 0.753 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.5571, allocations: 11.92 kB / 0.753 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5572, allocations: 4 kB / 0.753 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.5572, allocations: 3.906 kB / 0.753 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5573, allocations: 4 kB / 0.753 GB, free: 0.5 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.176e-05/0.5574, allocations: 180.4 kB / 0.7532 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.935e-05/0.5575, allocations: 142.6 kB / 0.7534 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.5575, allocations: 101 kB / 0.7534 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.5576, allocations: 116.7 kB / 0.7536 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-05/0.5577, allocations: 184.2 kB / 0.7537 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.644e-05/0.5577, allocations: 180.2 kB / 0.7539 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-05/0.5578, allocations: 180.4 kB / 0.7541 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.558, allocations: 386 kB / 0.7544 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/0.5581, allocations: 109 kB / 0.7545 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.5581, allocations: 105 kB / 0.7546 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-05/0.5582, allocations: 188.2 kB / 0.7548 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.5582, allocations: 176.3 kB / 0.755 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.327e-05/0.5583, allocations: 180.3 kB / 0.7552 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-05/0.5584, allocations: 180.2 kB / 0.7553 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.5585, allocations: 303.8 kB / 0.7556 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.5586, allocations: 186 kB / 0.7558 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.5587, allocations: 189.1 kB / 0.756 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.5588, allocations: 101 kB / 0.7561 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.5589, allocations: 180.2 kB / 0.7563 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.5589, allocations: 112.9 kB / 0.7564 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.5589, allocations: 83.28 kB / 0.7564 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.559, allocations: 0 / 0.7564 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003682/0.5593, allocations: 63.91 kB / 0.7565 GB, free: 12.73 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000897/0.5602, allocations: 0.9881 MB / 0.7575 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.326e-05/0.5603, allocations: 8 kB / 0.7575 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5603, allocations: 0 / 0.7575 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5603, allocations: 0 / 0.7575 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.5606, allocations: 0.5281 MB / 0.758 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.561, allocations: 193 kB / 0.7582 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.5613, allocations: 0.6807 MB / 0.7588 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.5613, allocations: 4 kB / 0.7588 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.5614, allocations: 11.42 kB / 0.7589 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5614, allocations: 0 / 0.7589 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3423/0.9037, allocations: 1.941 MB / 0.7608 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003353/0.9041, allocations: 191.5 kB / 0.7609 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.413, allocations: 0 / 0.7609 GB, free: 8.145 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --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)