Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_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.004637/0.004637, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001571/0.001571, allocations: 193.3 kB / 16.67 MB, free: 6.352 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9605/0.9605, allocations: 135.6 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.89 kB / 0.5858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3724, allocations: 81.02 MB / 0.6649 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001899/0.3744, allocations: 1.269 MB / 0.6661 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.376, allocations: 1.443 MB / 0.6675 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.3761, allocations: 0 / 0.6675 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.3761, allocations: 0 / 0.6675 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3763, allocations: 11.86 kB / 0.6675 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.3768, allocations: 218.9 kB / 0.6678 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.3769, allocations: 27.53 kB / 0.6678 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.092e-05/0.3769, allocations: 6.453 kB / 0.6678 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.377, allocations: 16.03 kB / 0.6678 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.3771, allocations: 21 kB / 0.6678 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3771, allocations: 1.281 kB / 0.6678 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.3773, allocations: 161.8 kB / 0.668 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3774, allocations: 10.38 kB / 0.668 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.3774, allocations: 11.56 kB / 0.668 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3776, allocations: 143.2 kB / 0.6681 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3776, allocations: 0 / 0.6681 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3776, allocations: 5.281 kB / 0.6681 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3776, allocations: 0 / 0.6681 GB, free: 4.543 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.0002636/0.3779, allocations: 368.3 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3779, allocations: 13.59 kB / 0.6685 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.378, allocations: 106 kB / 0.6686 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.378, allocations: 87.08 kB / 0.6687 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.3781, allocations: 241.2 kB / 0.6689 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3781, allocations: 152.5 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.3782, allocations: 159.9 kB / 0.6692 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.746e-05/0.3782, allocations: 106.5 kB / 0.6693 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3782, allocations: 75.28 kB / 0.6694 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3783, allocations: 150.6 kB / 0.6695 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3783, allocations: 156 kB / 0.6697 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.3783, allocations: 150.6 kB / 0.6698 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.3785, allocations: 455 kB / 0.6703 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/0.3785, allocations: 177.1 kB / 0.6704 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.3785, allocations: 81.39 kB / 0.6705 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3785, allocations: 79.22 kB / 0.6706 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.3786, allocations: 115 kB / 0.6707 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3786, allocations: 0 / 0.6707 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.02e-05/0.3786, allocations: 28.23 kB / 0.6707 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.3787, allocations: 126.7 kB / 0.6708 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.3787, allocations: 108.8 kB / 0.6709 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.435e-06/0.3788, allocations: 27.02 kB / 0.671 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.3788, allocations: 85.52 kB / 0.6711 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3788, allocations: 3.984 kB / 0.6711 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.3788, allocations: 27.39 kB / 0.6711 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.3789, allocations: 312 kB / 0.6714 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.3789, allocations: 1.625 kB / 0.6714 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.3789, allocations: 33.91 kB / 0.6714 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.3789, allocations: 19.92 kB / 0.6714 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.379, allocations: 4 kB / 0.6714 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001041/0.3791, allocations: 58.67 kB / 0.6715 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3791, allocations: 9.719 kB / 0.6715 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3791, allocations: 0 / 0.6715 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.3791, allocations: 1.188 kB / 0.6715 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/0.3792, allocations: 9.25 kB / 0.6715 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3792, allocations: 1.688 kB / 0.6715 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.3793, allocations: 10.89 kB / 0.6715 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3793, allocations: 7 kB / 0.6715 GB, free: 0.9219 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 4.888e-05/0.3794, allocations: 195.2 kB / 0.6717 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3794, allocations: 103.4 kB / 0.6718 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.3795, allocations: 113 kB / 0.6719 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.3795, allocations: 181.4 kB / 0.6721 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.3795, allocations: 180.3 kB / 0.6723 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.3796, allocations: 185.3 kB / 0.6724 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3798, allocations: 404.4 kB / 0.6728 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-05/0.3799, allocations: 110.1 kB / 0.6729 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.3799, allocations: 101 kB / 0.673 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.38, allocations: 178.7 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/0.3801, allocations: 184.2 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-05/0.3802, allocations: 181.8 kB / 0.6736 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.055e-05/0.3802, allocations: 181.7 kB / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3804, allocations: 310.6 kB / 0.674 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.3805, allocations: 187.4 kB / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.3806, allocations: 177.6 kB / 0.6744 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.3807, allocations: 106.5 kB / 0.6745 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.3808, allocations: 180.4 kB / 0.6746 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.3808, allocations: 106 kB / 0.6747 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.3809, allocations: 88.7 kB / 0.6748 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3809, allocations: 0 / 0.6748 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000316/0.3812, allocations: 58.39 kB / 0.6749 GB, free: 13.32 MB / 0.5137 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.0009226/0.3821, allocations: 0.972 MB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.3822, allocations: 14.69 kB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3822, allocations: 4.062 kB / 0.6759 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.3822, allocations: 1.625 kB / 0.6759 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3826, allocations: 459.6 kB / 0.6763 GB, free: 11.97 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.001161/0.3838, allocations: 1.348 MB / 0.6776 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3841, allocations: 0.676 MB / 0.6783 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.3841, allocations: 5.094 kB / 0.6783 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.3842, allocations: 10.94 kB / 0.6783 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.3842, allocations: 0 / 0.6783 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6103/0.9945, allocations: 2.625 MB / 0.6808 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.746, allocations: 12.14 kB / 0.6809 GB, free: 8.484 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)