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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7395/0.7395, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009686, allocations: 101.4 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.847e-05/4.868e-05, allocations: 4 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1869, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7606/0.9476, allocations: 113.7 MB / 0.7515 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.9479, allocations: 90.69 kB / 0.7516 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.9639, allocations: 5.794 MB / 0.7573 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/0.964, allocations: 0 / 0.7573 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.964, allocations: 0 / 0.7573 GB, free: 27.16 MB / 0.5105 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.0004437/0.9645, allocations: 361.9 kB / 0.7576 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.992e-05/0.9645, allocations: 7.688 kB / 0.7576 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.338e-05/0.9646, allocations: 109.8 kB / 0.7577 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.9647, allocations: 79.19 kB / 0.7578 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.9649, allocations: 257.4 kB / 0.758 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.965, allocations: 154.4 kB / 0.7582 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.9651, allocations: 154.4 kB / 0.7583 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.768e-05/0.9652, allocations: 101 kB / 0.7584 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.9652, allocations: 79.27 kB / 0.7585 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.9653, allocations: 150.6 kB / 0.7587 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.9653, allocations: 158.1 kB / 0.7588 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.9654, allocations: 154.5 kB / 0.7589 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.9657, allocations: 457 kB / 0.7594 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.9658, allocations: 172.2 kB / 0.7595 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.9658, allocations: 84.14 kB / 0.7596 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.9659, allocations: 75.28 kB / 0.7597 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.9659, allocations: 109.8 kB / 0.7598 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9659, allocations: 0 / 0.7598 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.482e-05/0.966, allocations: 33.48 kB / 0.7598 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.9661, allocations: 126.7 kB / 0.76 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.9662, allocations: 107.9 kB / 0.7601 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.9663, allocations: 29.2 kB / 0.7601 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.9663, allocations: 80.14 kB / 0.7602 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.9663, allocations: 0 / 0.7602 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.9663, allocations: 0 / 0.7602 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9665, allocations: 314.7 kB / 0.7605 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.9665, allocations: 3.188 kB / 0.7605 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.9665, allocations: 26.41 kB / 0.7605 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.9665, allocations: 7.844 kB / 0.7605 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9666, allocations: 3.953 kB / 0.7605 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000117/0.9667, allocations: 52.22 kB / 0.7606 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9667, allocations: 8.719 kB / 0.7606 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9667, allocations: 0 / 0.7606 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9667, allocations: 0 / 0.7606 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.9668, allocations: 7.875 kB / 0.7606 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9668, allocations: 3.656 kB / 0.7606 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.9669, allocations: 15.48 kB / 0.7606 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.9669, allocations: 0 / 0.7606 GB, free: 23.64 MB / 0.5105 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 0.0001081/0.967, allocations: 180.1 kB / 0.7608 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.9671, allocations: 108.9 kB / 0.7609 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.9672, allocations: 111.5 kB / 0.761 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-05/0.9673, allocations: 192.1 kB / 0.7612 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001047/0.9674, allocations: 184.2 kB / 0.7613 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/0.9675, allocations: 176.3 kB / 0.7615 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.9677, allocations: 404.5 kB / 0.7619 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.9678, allocations: 104.9 kB / 0.762 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.9678, allocations: 104.9 kB / 0.7621 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-05/0.9679, allocations: 188 kB / 0.7623 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/0.968, allocations: 179.8 kB / 0.7624 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.781e-05/0.968, allocations: 180.2 kB / 0.7626 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.938e-05/0.9681, allocations: 180.2 kB / 0.7628 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.9683, allocations: 307 kB / 0.7631 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.9684, allocations: 185.9 kB / 0.7632 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.9685, allocations: 184.2 kB / 0.7634 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.9686, allocations: 102 kB / 0.7635 GB, free: 20.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.9686, allocations: 183.5 kB / 0.7637 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.9687, allocations: 108.9 kB / 0.7638 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.9687, allocations: 87.36 kB / 0.7639 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9687, allocations: 3.938 kB / 0.7639 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005086/0.9692, allocations: 62.28 kB / 0.7639 GB, free: 20.07 MB / 0.5105 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.001011/0.9703, allocations: 0.975 MB / 0.7649 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.9704, allocations: 11.72 kB / 0.7649 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9704, allocations: 0 / 0.7649 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.9704, allocations: 0 / 0.7649 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.9707, allocations: 0.5354 MB / 0.7654 GB, free: 18.66 MB / 0.5105 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.0004616/0.9712, allocations: 197.6 kB / 0.7656 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.9715, allocations: 0.6769 MB / 0.7663 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.9716, allocations: 0 / 0.7663 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.9716, allocations: 14.34 kB / 0.7663 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.9716, allocations: 0 / 0.7663 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3697/1.341, allocations: 2.25 MB / 0.7685 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/1.342, allocations: 219.5 kB / 0.7687 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/3.017, allocations: 0 / 0.7687 GB, free: 16.43 MB / 0.5105 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/linux/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)