Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.001212/0.001212, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001152/0.001152, allocations: 189.4 kB / 16.9 MB, free: 6.195 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.2/1.2, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.643/0.643, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.269, allocations: 76.18 MB / 0.556 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001858/0.2709, allocations: 1.326 MB / 0.5573 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2723, allocations: 1.408 MB / 0.5587 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.2723, allocations: 0 / 0.5587 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.2724, allocations: 3.938 kB / 0.5587 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.2725, allocations: 12.2 kB / 0.5587 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.273, allocations: 198 kB / 0.5589 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.2731, allocations: 23.72 kB / 0.5589 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.743e-05/0.2731, allocations: 1.406 kB / 0.5589 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.2732, allocations: 23.75 kB / 0.5589 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2733, allocations: 11.69 kB / 0.559 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2733, allocations: 3.188 kB / 0.559 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2735, allocations: 151.1 kB / 0.5591 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.2735, allocations: 7.531 kB / 0.5591 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.2735, allocations: 5.625 kB / 0.5591 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.2737, allocations: 147 kB / 0.5593 GB, free: 34.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2737, allocations: 8.375 kB / 0.5593 GB, free: 34.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2737, allocations: 0 / 0.5593 GB, free: 34.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2738, allocations: 0 / 0.5593 GB, free: 34.11 MB / 446.1 MB 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.0002528/0.274, allocations: 367.5 kB / 0.5596 GB, free: 33.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2741, allocations: 10.92 kB / 0.5596 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.941e-05/0.2741, allocations: 110.5 kB / 0.5597 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.2741, allocations: 85.3 kB / 0.5598 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.2742, allocations: 245 kB / 0.56 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2742, allocations: 154.5 kB / 0.5602 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.2743, allocations: 157.5 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.06e-05/0.2743, allocations: 105.7 kB / 0.5604 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2743, allocations: 76.27 kB / 0.5605 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2743, allocations: 153.1 kB / 0.5607 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.2744, allocations: 150.6 kB / 0.5608 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.2744, allocations: 156.9 kB / 0.561 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2745, allocations: 456.3 kB / 0.5614 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.397e-05/0.2746, allocations: 174.2 kB / 0.5616 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.2746, allocations: 84.14 kB / 0.5616 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.2746, allocations: 75.28 kB / 0.5617 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.2746, allocations: 111.3 kB / 0.5618 GB, free: 31.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2746, allocations: 1.406 kB / 0.5618 GB, free: 31.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.13e-05/0.2747, allocations: 28.28 kB / 0.5618 GB, free: 31.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.2747, allocations: 129 kB / 0.562 GB, free: 31.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.2748, allocations: 104.1 kB / 0.5621 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.2748, allocations: 26.67 kB / 0.5621 GB, free: 31.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.2748, allocations: 88.11 kB / 0.5622 GB, free: 31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.2748, allocations: 0.875 kB / 0.5622 GB, free: 31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.2749, allocations: 17.3 kB / 0.5622 GB, free: 30.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.2749, allocations: 317.7 kB / 0.5625 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.2749, allocations: 3.297 kB / 0.5625 GB, free: 30.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/0.275, allocations: 25.52 kB / 0.5625 GB, free: 30.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.275, allocations: 36.89 kB / 0.5626 GB, free: 30.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.275, allocations: 3.469 kB / 0.5626 GB, free: 30.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.661e-05/0.2751, allocations: 58.14 kB / 0.5626 GB, free: 30.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.2751, allocations: 5.781 kB / 0.5626 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2751, allocations: 0 / 0.5626 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.2751, allocations: 1.25 kB / 0.5626 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.2752, allocations: 7.141 kB / 0.5626 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2752, allocations: 3.938 kB / 0.5626 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2754, allocations: 7.078 kB / 0.5626 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2754, allocations: 3.234 kB / 0.5626 GB, free: 30.55 MB / 446.1 MB 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 4.826e-05/0.2754, allocations: 195.5 kB / 0.5628 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.2755, allocations: 107.3 kB / 0.5629 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.2755, allocations: 113.8 kB / 0.563 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.2755, allocations: 181 kB / 0.5632 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/0.2755, allocations: 178.4 kB / 0.5634 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.2756, allocations: 186.9 kB / 0.5636 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.2757, allocations: 403.3 kB / 0.564 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.2757, allocations: 106.6 kB / 0.5641 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.2757, allocations: 103.7 kB / 0.5642 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.2757, allocations: 183.3 kB / 0.5643 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2758, allocations: 187.1 kB / 0.5645 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.678e-05/0.2758, allocations: 178.5 kB / 0.5647 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/0.2758, allocations: 182.5 kB / 0.5648 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.028e-05/0.2759, allocations: 308.3 kB / 0.5651 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.2759, allocations: 184.9 kB / 0.5653 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.2759, allocations: 186.1 kB / 0.5655 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.276, allocations: 106.8 kB / 0.5656 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.276, allocations: 179.2 kB / 0.5658 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.276, allocations: 107.4 kB / 0.5659 GB, free: 27.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.44e-05/0.276, allocations: 81.66 kB / 0.5659 GB, free: 27.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.276, allocations: 3.938 kB / 0.566 GB, free: 27.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.2763, allocations: 60.48 kB / 0.566 GB, free: 26.99 MB / 446.1 MB 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.0005074/0.2768, allocations: 0.9563 MB / 0.5669 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.225e-05/0.2769, allocations: 15.16 kB / 0.567 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2769, allocations: 2.438 kB / 0.567 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2769, allocations: 0 / 0.567 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.2772, allocations: 457.8 kB / 0.5674 GB, free: 25.71 MB / 446.1 MB 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.0006646/0.2778, allocations: 1.365 MB / 0.5687 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.346e-05/0.2779, allocations: 0.6749 MB / 0.5694 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.963e-05/0.278, allocations: 1 kB / 0.5694 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.278, allocations: 11.77 kB / 0.5694 GB, free: 23.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.278, allocations: 2.688 kB / 0.5694 GB, free: 23.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.926/2.204, allocations: 2.529 MB / 0.5719 GB, free: 23.35 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/2.204, allocations: 268.9 kB / 0.5721 GB, free: 22.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/3.775, allocations: 0 / 0.5721 GB, free: 22.99 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)