Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001442/0.001442, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001807/0.001807, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8241/0.8241, allocations: 134 MB / 446.4 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] 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.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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_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.001997/0.001997, allocations: 68.83 kB / 0.6186 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1653, allocations: 85.91 MB / 0.7025 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002365/0.1676, allocations: 1.3 MB / 0.7037 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1703, allocations: 1.583 MB / 0.7053 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.1703, allocations: 0 / 0.7053 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.1703, allocations: 7.922 kB / 0.7053 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1706, allocations: 11.92 kB / 0.7053 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.1712, allocations: 220.1 kB / 0.7055 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.1713, allocations: 27.86 kB / 0.7055 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.1713, allocations: 4 kB / 0.7055 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1715, allocations: 23.91 kB / 0.7056 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.1715, allocations: 8 kB / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1715, allocations: 0 / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.1719, allocations: 171.8 kB / 0.7057 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1719, allocations: 15.88 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.1719, allocations: 11.98 kB / 0.7057 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1722, allocations: 143.9 kB / 0.7059 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1722, allocations: 0 / 0.7059 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1722, allocations: 0 / 0.7059 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.1722, allocations: 0 / 0.7059 GB, free: 13.83 MB / 0.5294 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.0004065/0.1726, allocations: 297.8 kB / 0.7062 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1726, allocations: 12.03 kB / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.498e-05/0.1727, allocations: 110 kB / 0.7063 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.1728, allocations: 88.16 kB / 0.7064 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.173, allocations: 181.8 kB / 0.7065 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/0.173, allocations: 150.9 kB / 0.7067 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.1731, allocations: 162.5 kB / 0.7068 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.854e-05/0.1732, allocations: 104.9 kB / 0.7069 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.1732, allocations: 75.28 kB / 0.707 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.1733, allocations: 158.6 kB / 0.7072 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/0.1733, allocations: 150.6 kB / 0.7073 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.1734, allocations: 150.6 kB / 0.7075 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1738, allocations: 429 kB / 0.7079 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1739, allocations: 181 kB / 0.708 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.1739, allocations: 84.14 kB / 0.7081 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1739, allocations: 75.28 kB / 0.7082 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.174, allocations: 105.8 kB / 0.7083 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.174, allocations: 0 / 0.7083 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.78e-05/0.1741, allocations: 33.66 kB / 0.7083 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.1742, allocations: 134.6 kB / 0.7084 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1743, allocations: 105.8 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1743, allocations: 25.7 kB / 0.7086 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.1743, allocations: 84.14 kB / 0.7087 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-06/0.1743, allocations: 0 / 0.7087 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1744, allocations: 21.7 kB / 0.7087 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1745, allocations: 314.8 kB / 0.709 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.1745, allocations: 8 kB / 0.709 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.1746, allocations: 26.5 kB / 0.709 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.1746, allocations: 30.56 kB / 0.709 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1746, allocations: 0 / 0.709 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001318/0.1747, allocations: 57.77 kB / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1747, allocations: 4 kB / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1748, allocations: 4 kB / 0.7091 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1748, allocations: 3.984 kB / 0.7091 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.1748, allocations: 4 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1748, allocations: 0 / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.175, allocations: 11.98 kB / 0.7091 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.175, allocations: 4 kB / 0.7091 GB, free: 10.29 MB / 0.5294 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 0.0001203/0.1751, allocations: 197.1 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.1752, allocations: 108.9 kB / 0.7094 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.1752, allocations: 104.1 kB / 0.7095 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.437e-05/0.1753, allocations: 184.2 kB / 0.7097 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.219e-05/0.1754, allocations: 180.2 kB / 0.7099 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/0.1755, allocations: 176.3 kB / 0.71 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1758, allocations: 388.2 kB / 0.7104 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.1759, allocations: 104.9 kB / 0.7105 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.1759, allocations: 101 kB / 0.7106 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.176, allocations: 188.2 kB / 0.7108 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.1761, allocations: 176.5 kB / 0.7109 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001402/0.1763, allocations: 184.2 kB / 0.7111 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.828e-05/0.1764, allocations: 184.3 kB / 0.7113 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1765, allocations: 307.7 kB / 0.7116 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.1766, allocations: 109 kB / 0.7117 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.1767, allocations: 184.2 kB / 0.7119 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.1768, allocations: 105 kB / 0.712 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.1768, allocations: 180.2 kB / 0.7121 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.1769, allocations: 109 kB / 0.7122 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.1769, allocations: 83.27 kB / 0.7123 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1769, allocations: 0 / 0.7123 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003298/0.1773, allocations: 59.73 kB / 0.7124 GB, free: 6.754 MB / 0.5294 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.0009196/0.1782, allocations: 0.9571 MB / 0.7133 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.1783, allocations: 12 kB / 0.7133 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1783, allocations: 0 / 0.7133 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1783, allocations: 0 / 0.7133 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1787, allocations: 459.9 kB / 0.7138 GB, free: 5.344 MB / 0.5294 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.001361/0.18, allocations: 1.372 MB / 0.7151 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1803, allocations: 0.6806 MB / 0.7158 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.1804, allocations: 4 kB / 0.7158 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.1804, allocations: 7.438 kB / 0.7158 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1804, allocations: 0 / 0.7158 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6234/0.8038, allocations: 2.72 MB / 0.7184 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.23, allocations: 8.062 kB / 0.7184 GB, free: 0.6094 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.52193525317125] Failed to read output from testmodel.py, exit status != 0: 19.56493306509219 19.58236789 19.407124446 Calling exit ...