Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7112/0.7112, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009075/0.0009076, allocations: 177.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008329/0.0008329, allocations: 92.44 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 280.3 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.034e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3585, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.4643, allocations: 111 MB / 0.8728 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4646, allocations: 87.95 kB / 0.8729 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.4801, allocations: 5.791 MB / 0.8785 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4801, allocations: 0 / 0.8785 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4801, allocations: 4 kB / 0.8785 GB, free: 7.66 MB / 0.5417 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.0003023/0.4804, allocations: 370.5 kB / 0.8789 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4805, allocations: 8.031 kB / 0.8789 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.4805, allocations: 105.8 kB / 0.879 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.4806, allocations: 83.22 kB / 0.8791 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4807, allocations: 234.4 kB / 0.8793 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.4808, allocations: 154.5 kB / 0.8794 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.4808, allocations: 158.6 kB / 0.8796 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.45e-05/0.4809, allocations: 108.9 kB / 0.8797 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.4809, allocations: 75.28 kB / 0.8798 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.481, allocations: 150.6 kB / 0.8799 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.481, allocations: 162.5 kB / 0.8801 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.256e-05/0.4811, allocations: 154.6 kB / 0.8802 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.4813, allocations: 453.9 kB / 0.8806 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.408e-05/0.4814, allocations: 173 kB / 0.8808 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.4814, allocations: 84.14 kB / 0.8809 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.4814, allocations: 75.28 kB / 0.8809 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4815, allocations: 113.8 kB / 0.8811 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4815, allocations: 0 / 0.8811 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.233e-05/0.4816, allocations: 29.61 kB / 0.8811 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.4816, allocations: 126.7 kB / 0.8812 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.4817, allocations: 101 kB / 0.8813 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.4817, allocations: 25.7 kB / 0.8813 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.4818, allocations: 88.08 kB / 0.8814 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.4818, allocations: 4 kB / 0.8814 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.4818, allocations: 4 kB / 0.8814 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.4819, allocations: 310.8 kB / 0.8817 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.4819, allocations: 0 / 0.8817 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.4819, allocations: 30.56 kB / 0.8817 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.4819, allocations: 8 kB / 0.8818 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.482, allocations: 0 / 0.8818 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001001/0.4821, allocations: 49.58 kB / 0.8818 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4821, allocations: 8 kB / 0.8818 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4821, allocations: 0 / 0.8818 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4821, allocations: 0 / 0.8818 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.4822, allocations: 4 kB / 0.8818 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4822, allocations: 4 kB / 0.8818 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.4823, allocations: 4 kB / 0.8818 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4823, allocations: 12.08 kB / 0.8818 GB, free: 4.02 MB / 0.5417 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 7.106e-05/0.4824, allocations: 184.2 kB / 0.882 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.4824, allocations: 105.2 kB / 0.8821 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.4824, allocations: 108.2 kB / 0.8822 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-05/0.4825, allocations: 188.3 kB / 0.8824 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.832e-05/0.4826, allocations: 184.2 kB / 0.8826 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/0.4826, allocations: 188.2 kB / 0.8827 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4828, allocations: 401.2 kB / 0.8831 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/0.4828, allocations: 112.8 kB / 0.8832 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.4829, allocations: 104.9 kB / 0.8833 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.441e-05/0.4829, allocations: 176.3 kB / 0.8835 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.483, allocations: 192.2 kB / 0.8837 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.403e-05/0.483, allocations: 176.3 kB / 0.8839 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.616e-05/0.4831, allocations: 180.2 kB / 0.884 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.4832, allocations: 307.7 kB / 0.8843 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4832, allocations: 187.2 kB / 0.8845 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.4833, allocations: 188.2 kB / 0.8847 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.4834, allocations: 104.9 kB / 0.8848 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.4834, allocations: 184.2 kB / 0.885 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.4835, allocations: 105 kB / 0.8851 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.4835, allocations: 79.28 kB / 0.8851 GB, free: 432 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4835, allocations: 0 / 0.8851 GB, free: 432 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002985/0.4838, allocations: 67.97 kB / 0.8852 GB, free: 364 kB / 0.5417 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.0007056/0.4845, allocations: 0.9806 MB / 0.8862 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.73e-05/0.4846, allocations: 15.94 kB / 0.8862 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4846, allocations: 4.188 kB / 0.8862 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4846, allocations: 0 / 0.8862 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.4848, allocations: 0.5195 MB / 0.8867 GB, free: 14.84 MB / 0.5573 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.0003344/0.4852, allocations: 198 kB / 0.8869 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.4854, allocations: 0.677 MB / 0.8875 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.4854, allocations: 11.92 kB / 0.8875 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.4854, allocations: 7.438 kB / 0.8875 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.4854, allocations: 0 / 0.8875 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.218/0.7035, allocations: 2.277 MB / 0.8898 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/0.7038, allocations: 229.3 kB / 0.89 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.378/2.082, allocations: 8.969 kB / 0.89 GB, free: 11.52 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)