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.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/IDEAS 3.0.0/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00822/0.008221, allocations: 106 kB / 15.73 MB, free: 6 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.00116/0.00116, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7844/0.7844, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 69.09 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 80.2 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00224/0.1478, allocations: 1.274 MB / 0.6604 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1499, allocations: 1.448 MB / 0.6619 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.15, allocations: 0 / 0.6619 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.15, allocations: 3.938 kB / 0.6619 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1502, allocations: 11.94 kB / 0.6619 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.1508, allocations: 222.9 kB / 0.6621 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.1509, allocations: 19.92 kB / 0.6621 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.151, allocations: 3.984 kB / 0.6621 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.1511, allocations: 19.94 kB / 0.6621 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1512, allocations: 15.91 kB / 0.6621 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1512, allocations: 4 kB / 0.6621 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1515, allocations: 159.8 kB / 0.6623 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1516, allocations: 19.97 kB / 0.6623 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.1516, allocations: 7.938 kB / 0.6623 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1519, allocations: 139.8 kB / 0.6625 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1519, allocations: 4 kB / 0.6625 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1519, allocations: 0 / 0.6625 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1519, allocations: 0 / 0.6625 GB, free: 7.512 MB / 0.4981 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.0004256/0.1524, allocations: 364.4 kB / 0.6628 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1524, allocations: 8.031 kB / 0.6628 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.1525, allocations: 106 kB / 0.6629 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.1526, allocations: 84.12 kB / 0.663 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.1527, allocations: 243.7 kB / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.1528, allocations: 158.9 kB / 0.6634 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.1529, allocations: 158.5 kB / 0.6635 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.205e-05/0.153, allocations: 101 kB / 0.6636 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.153, allocations: 79.22 kB / 0.6637 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.1531, allocations: 154.6 kB / 0.6638 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.1531, allocations: 150.6 kB / 0.664 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/0.1532, allocations: 154.6 kB / 0.6641 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1535, allocations: 461.9 kB / 0.6646 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1536, allocations: 173.1 kB / 0.6647 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1537, allocations: 84.14 kB / 0.6648 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.1537, allocations: 75.28 kB / 0.6649 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.1538, allocations: 109.8 kB / 0.665 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.724e-06/0.1538, allocations: 0 / 0.665 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.276e-05/0.1539, allocations: 33.64 kB / 0.665 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.154, allocations: 134.7 kB / 0.6652 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1541, allocations: 110.4 kB / 0.6653 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1541, allocations: 25.7 kB / 0.6653 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1542, allocations: 84.12 kB / 0.6654 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-06/0.1542, allocations: 0 / 0.6654 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.1542, allocations: 21.72 kB / 0.6654 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1544, allocations: 318.8 kB / 0.6657 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.1544, allocations: 8 kB / 0.6657 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.1544, allocations: 22.58 kB / 0.6657 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.1545, allocations: 30.5 kB / 0.6658 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1545, allocations: 0 / 0.6658 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001427/0.1546, allocations: 57.55 kB / 0.6658 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1547, allocations: 4 kB / 0.6658 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1547, allocations: 4 kB / 0.6658 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1547, allocations: 3.984 kB / 0.6658 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.1548, allocations: 4 kB / 0.6658 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1548, allocations: 0 / 0.6658 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1549, allocations: 12.22 kB / 0.6658 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.155, allocations: 7.984 kB / 0.6658 GB, free: 3.785 MB / 0.4981 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.0001081/0.1551, allocations: 194 kB / 0.666 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.1551, allocations: 104.9 kB / 0.6661 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.1552, allocations: 108.1 kB / 0.6662 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/0.1553, allocations: 184.2 kB / 0.6664 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.593e-05/0.1553, allocations: 180.2 kB / 0.6666 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.318e-05/0.1554, allocations: 180.2 kB / 0.6668 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.1557, allocations: 417.1 kB / 0.6672 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/0.1557, allocations: 101 kB / 0.6672 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.1558, allocations: 104.9 kB / 0.6673 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-05/0.1558, allocations: 176.4 kB / 0.6675 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.1559, allocations: 180.3 kB / 0.6677 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-05/0.156, allocations: 184.2 kB / 0.6679 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.429e-05/0.1561, allocations: 192.2 kB / 0.668 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1563, allocations: 303.7 kB / 0.6683 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.1563, allocations: 178.1 kB / 0.6685 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.1564, allocations: 192.2 kB / 0.6687 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.1565, allocations: 105 kB / 0.6688 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.1566, allocations: 180.2 kB / 0.669 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.1567, allocations: 105 kB / 0.6691 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.1567, allocations: 87.52 kB / 0.6691 GB, free: 180 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1567, allocations: 0 / 0.6691 GB, free: 180 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000351/0.1571, allocations: 48 kB / 0.6692 GB, free: 132 kB / 0.4981 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.0008694/0.158, allocations: 0.9845 MB / 0.6702 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.802e-05/0.158, allocations: 8 kB / 0.6702 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1581, allocations: 0 / 0.6702 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.1581, allocations: 3.938 kB / 0.6702 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1584, allocations: 459.9 kB / 0.6706 GB, free: 14.7 MB / 0.5137 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.001159/0.1596, allocations: 1.342 MB / 0.6719 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1598, allocations: 0.6807 MB / 0.6726 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.1598, allocations: 0 / 0.6726 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.1599, allocations: 15.44 kB / 0.6726 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.764e-06/0.1599, allocations: 0 / 0.6726 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/0.5579, allocations: 2.628 MB / 0.6752 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.826, allocations: 11.05 kB / 0.6752 GB, free: 10.09 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)