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.005605/0.005606, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001254/0.001254, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9049/0.9049, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 72.09 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4304, allocations: 80.91 MB / 0.6642 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002232/0.4326, allocations: 1.283 MB / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.4347, allocations: 1.439 MB / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.4347, allocations: 0 / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.4348, allocations: 0 / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.435, allocations: 11.97 kB / 0.6668 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.4356, allocations: 218.3 kB / 0.667 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.4357, allocations: 24.86 kB / 0.6671 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.4357, allocations: 1.375 kB / 0.6671 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.4358, allocations: 24.47 kB / 0.6671 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4359, allocations: 8.656 kB / 0.6671 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.436, allocations: 1.594 kB / 0.6671 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.4362, allocations: 170.7 kB / 0.6673 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.4363, allocations: 5.75 kB / 0.6673 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.4363, allocations: 15.75 kB / 0.6673 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.4365, allocations: 145.8 kB / 0.6674 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4365, allocations: 1.375 kB / 0.6674 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4365, allocations: 0 / 0.6674 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4366, allocations: 0 / 0.6674 GB, free: 4.922 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.0003331/0.4369, allocations: 364.8 kB / 0.6678 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4369, allocations: 13.47 kB / 0.6678 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.437, allocations: 107.1 kB / 0.6679 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.4371, allocations: 85.25 kB / 0.668 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4372, allocations: 246.1 kB / 0.6682 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.4372, allocations: 152.3 kB / 0.6683 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.4373, allocations: 161 kB / 0.6685 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.833e-05/0.4373, allocations: 108.9 kB / 0.6686 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4373, allocations: 76.72 kB / 0.6687 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.4374, allocations: 154.6 kB / 0.6688 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.4374, allocations: 150.6 kB / 0.669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.4374, allocations: 151.8 kB / 0.6691 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.4376, allocations: 449.9 kB / 0.6695 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.4377, allocations: 178.5 kB / 0.6697 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.4377, allocations: 84.14 kB / 0.6698 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4377, allocations: 76.75 kB / 0.6699 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.4378, allocations: 109.9 kB / 0.67 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4378, allocations: 0 / 0.67 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.01e-05/0.4378, allocations: 28.58 kB / 0.67 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4379, allocations: 138.6 kB / 0.6701 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.438, allocations: 101.3 kB / 0.6702 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.438, allocations: 25.7 kB / 0.6703 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.438, allocations: 90.47 kB / 0.6703 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.438, allocations: 0 / 0.6703 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.4381, allocations: 15.78 kB / 0.6704 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.4381, allocations: 316.1 kB / 0.6707 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.4381, allocations: 1.5 kB / 0.6707 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.4382, allocations: 36.36 kB / 0.6707 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.4382, allocations: 28.55 kB / 0.6707 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4382, allocations: 0 / 0.6707 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.4384, allocations: 55.44 kB / 0.6708 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4384, allocations: 9.094 kB / 0.6708 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4384, allocations: 1.094 kB / 0.6708 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4384, allocations: 1.188 kB / 0.6708 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.4385, allocations: 8.297 kB / 0.6708 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4385, allocations: 1.188 kB / 0.6708 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.4386, allocations: 11.19 kB / 0.6708 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4387, allocations: 2.75 kB / 0.6708 GB, free: 1.309 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 6.582e-05/0.4387, allocations: 194.8 kB / 0.671 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.4388, allocations: 114.3 kB / 0.6711 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.4388, allocations: 109.4 kB / 0.6712 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.4388, allocations: 177.4 kB / 0.6714 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/0.4389, allocations: 181.7 kB / 0.6715 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.4389, allocations: 180.3 kB / 0.6717 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.4391, allocations: 413 kB / 0.6721 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/0.4391, allocations: 101 kB / 0.6722 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.4392, allocations: 110.3 kB / 0.6723 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.007e-05/0.4393, allocations: 185.7 kB / 0.6725 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.4393, allocations: 176.3 kB / 0.6727 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001124/0.4395, allocations: 181.2 kB / 0.6728 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000131/0.4396, allocations: 181.3 kB / 0.673 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.4398, allocations: 316 kB / 0.6733 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.44, allocations: 179.4 kB / 0.6735 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.4401, allocations: 181.5 kB / 0.6737 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.4402, allocations: 110.1 kB / 0.6738 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.4403, allocations: 180.2 kB / 0.6739 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.4403, allocations: 102.1 kB / 0.674 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.365e-05/0.4404, allocations: 84.31 kB / 0.6741 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4404, allocations: 0 / 0.6741 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003349/0.4407, allocations: 50.39 kB / 0.6742 GB, free: 13.71 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.0008544/0.4416, allocations: 0.9867 MB / 0.6751 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.4417, allocations: 10.75 kB / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4417, allocations: 0 / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.4417, allocations: 1.125 kB / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.4421, allocations: 467.5 kB / 0.6756 GB, free: 12.36 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.001293/0.4434, allocations: 1.347 MB / 0.6769 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4437, allocations: 0.6793 MB / 0.6776 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.4437, allocations: 2.625 kB / 0.6776 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.4438, allocations: 10.09 kB / 0.6776 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4438, allocations: 0 / 0.6776 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3973/0.8411, allocations: 2.622 MB / 0.6801 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/8.169, allocations: 13.77 kB / 0.6801 GB, free: 8.859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)