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.003684/0.003684, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.001129/0.001129, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 64.08 kB / 0.5809 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1444, allocations: 80.2 MB / 0.6592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002152/0.1466, allocations: 1.258 MB / 0.6604 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1487, allocations: 1.451 MB / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.1487, allocations: 0 / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.1487, allocations: 0 / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1489, allocations: 11.92 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.1495, allocations: 227.5 kB / 0.6621 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.1495, allocations: 19.92 kB / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.1496, allocations: 4 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.1497, allocations: 19.97 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.1498, allocations: 11.94 kB / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1498, allocations: 0 / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.1501, allocations: 167.8 kB / 0.6623 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.1501, allocations: 11.94 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1501, allocations: 11.92 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1504, allocations: 155.8 kB / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1504, allocations: 0 / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1504, allocations: 0 / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1504, allocations: 3.984 kB / 0.6625 GB, free: 10.54 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.0003846/0.1508, allocations: 371.1 kB / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1508, allocations: 8.031 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.1509, allocations: 106 kB / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.151, allocations: 80.22 kB / 0.663 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1512, allocations: 239.7 kB / 0.6632 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.1512, allocations: 150.9 kB / 0.6634 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.1513, allocations: 158.5 kB / 0.6635 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.595e-05/0.1514, allocations: 105 kB / 0.6636 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.1514, allocations: 75.28 kB / 0.6637 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.1515, allocations: 158.4 kB / 0.6639 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/0.1515, allocations: 150.6 kB / 0.664 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.1516, allocations: 158.5 kB / 0.6642 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.1519, allocations: 465.9 kB / 0.6646 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.152, allocations: 169.1 kB / 0.6648 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.1521, allocations: 84.14 kB / 0.6648 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1521, allocations: 79.22 kB / 0.6649 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.1522, allocations: 109.8 kB / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1522, allocations: 4 kB / 0.665 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.323e-05/0.1523, allocations: 29.7 kB / 0.6651 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.1523, allocations: 126.7 kB / 0.6652 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1524, allocations: 109.8 kB / 0.6653 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1525, allocations: 25.7 kB / 0.6653 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.1525, allocations: 84.14 kB / 0.6654 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1525, allocations: 0 / 0.6654 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1526, allocations: 25.7 kB / 0.6654 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1527, allocations: 310.8 kB / 0.6657 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.1527, allocations: 4 kB / 0.6657 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.1528, allocations: 30.5 kB / 0.6657 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.1528, allocations: 30.58 kB / 0.6658 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1528, allocations: 0 / 0.6658 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000128/0.153, allocations: 49.56 kB / 0.6658 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.153, allocations: 6.344 kB / 0.6658 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.153, allocations: 4.25 kB / 0.6658 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.153, allocations: 0 / 0.6658 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.1531, allocations: 11.94 kB / 0.6658 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1531, allocations: 3.938 kB / 0.6658 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1533, allocations: 16.08 kB / 0.6659 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1533, allocations: 4 kB / 0.6659 GB, free: 6.812 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.0001171/0.1534, allocations: 189.7 kB / 0.666 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.1535, allocations: 101 kB / 0.6661 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.1535, allocations: 116 kB / 0.6663 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.328e-05/0.1536, allocations: 180.3 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-05/0.1537, allocations: 184.2 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/0.1538, allocations: 176.3 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.154, allocations: 413.1 kB / 0.6672 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-05/0.1541, allocations: 104.9 kB / 0.6673 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.1541, allocations: 101 kB / 0.6674 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.162e-05/0.1542, allocations: 184.2 kB / 0.6675 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.1543, allocations: 184.2 kB / 0.6677 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.35e-05/0.1544, allocations: 180.3 kB / 0.6679 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.907e-05/0.1545, allocations: 188.2 kB / 0.6681 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1546, allocations: 311.6 kB / 0.6684 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1547, allocations: 186.1 kB / 0.6685 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.1548, allocations: 180.3 kB / 0.6687 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.1549, allocations: 104.9 kB / 0.6688 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.155, allocations: 176.4 kB / 0.669 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.155, allocations: 116.9 kB / 0.6691 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.1551, allocations: 83.28 kB / 0.6692 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1551, allocations: 4 kB / 0.6692 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002959/0.1554, allocations: 47.8 kB / 0.6692 GB, free: 3.148 MB / 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.0009431/0.1563, allocations: 0.9732 MB / 0.6702 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.1564, allocations: 19.92 kB / 0.6702 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1564, allocations: 3.938 kB / 0.6702 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1564, allocations: 0 / 0.6702 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1568, allocations: 459.7 kB / 0.6706 GB, free: 1.719 MB / 0.4981 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.001187/0.158, allocations: 1.346 MB / 0.6719 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1583, allocations: 0.6728 MB / 0.6726 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.1583, allocations: 4 kB / 0.6726 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1584, allocations: 11.42 kB / 0.6726 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1584, allocations: 4 kB / 0.6726 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5963/0.7547, allocations: 2.609 MB / 0.6752 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/8.297, allocations: 17.2 kB / 0.6752 GB, free: 13.12 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)