Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.8299/0.8299, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 184.8 kB / 182.2 MB, free: 9.445 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.526/1.526, allocations: 221.5 MB / 436.4 MB, free: 13.38 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.0009975/0.0009974, allocations: 97.44 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 270.3 kB / 0.5889 GB, free: 54.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.113e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.5276, allocations: 82.77 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.6727, allocations: 107.8 MB / 0.8627 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.673, allocations: 83.94 kB / 0.8628 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004276/0.6774, allocations: 1.444 MB / 0.8642 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6774, allocations: 0 / 0.8642 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.6774, allocations: 4 kB / 0.8642 GB, free: 2.5 MB / 0.5261 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.0002788/0.6777, allocations: 322.5 kB / 0.8645 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.6778, allocations: 12.03 kB / 0.8645 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.6779, allocations: 75.28 kB / 0.8646 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.6781, allocations: 238.4 kB / 0.8648 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.6781, allocations: 154.5 kB / 0.865 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.6782, allocations: 158.6 kB / 0.8651 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.74e-05/0.6783, allocations: 156.6 kB / 0.8653 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.539e-05/0.6783, allocations: 104.9 kB / 0.8654 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.6784, allocations: 75.28 kB / 0.8655 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.6784, allocations: 158.6 kB / 0.8656 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.6785, allocations: 150.6 kB / 0.8657 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.6787, allocations: 426.5 kB / 0.8662 GB, free: 388 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/0.6788, allocations: 165.1 kB / 0.8663 GB, free: 212 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.6789, allocations: 84.14 kB / 0.8664 GB, free: 124 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.6789, allocations: 83.2 kB / 0.8665 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.679, allocations: 117.9 kB / 0.8666 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.679, allocations: 0 / 0.8666 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.427e-05/0.6791, allocations: 25.7 kB / 0.8666 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.6791, allocations: 51.41 kB / 0.8667 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.6792, allocations: 97 kB / 0.8668 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.6792, allocations: 25.7 kB / 0.8668 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.6792, allocations: 84.14 kB / 0.8669 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.6793, allocations: 0 / 0.8669 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-07/0.6793, allocations: 3.938 kB / 0.8669 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6794, allocations: 314.8 kB / 0.8672 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-06/0.6794, allocations: 0 / 0.8672 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.6794, allocations: 0 / 0.8672 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.6794, allocations: 79.28 kB / 0.8672 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/0.6795, allocations: 83.31 kB / 0.8673 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.542e-05/0.6795, allocations: 29.64 kB / 0.8673 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.6796, allocations: 83.28 kB / 0.8674 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.6796, allocations: 75.98 kB / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.271e-05/0.6797, allocations: 154.7 kB / 0.8676 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.951e-05/0.6797, allocations: 83.2 kB / 0.8677 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.626e-05/0.6797, allocations: 158.6 kB / 0.8679 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.6798, allocations: 79.28 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.6799, allocations: 83.2 kB / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.000107/0.68, allocations: 251.5 kB / 0.8683 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.158e-05/0.6801, allocations: 134.6 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.6802, allocations: 116.8 kB / 0.8685 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.6802, allocations: 112.7 kB / 0.8686 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.364e-05/0.6803, allocations: 176.3 kB / 0.8688 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.204e-05/0.6804, allocations: 180.2 kB / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-05/0.6804, allocations: 176.3 kB / 0.8691 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.6806, allocations: 381.8 kB / 0.8695 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.6807, allocations: 114.2 kB / 0.8696 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.6807, allocations: 101 kB / 0.8697 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-05/0.6808, allocations: 184.2 kB / 0.8699 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/0.6809, allocations: 180.2 kB / 0.87 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-05/0.681, allocations: 180.2 kB / 0.8702 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.921e-05/0.681, allocations: 180.2 kB / 0.8704 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.6812, allocations: 311.8 kB / 0.8707 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.6813, allocations: 182.1 kB / 0.8709 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.6814, allocations: 180.6 kB / 0.871 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.6815, allocations: 105 kB / 0.8711 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.6815, allocations: 188.2 kB / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.6816, allocations: 108.9 kB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.6816, allocations: 83.28 kB / 0.8715 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.854e-06/0.6816, allocations: 0 / 0.8715 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002573/0.6819, allocations: 3.938 kB / 0.8715 GB, free: 10.6 MB / 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.0005111/0.6824, allocations: 0.8273 MB / 0.8723 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.862e-05/0.6825, allocations: 7.938 kB / 0.8723 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6825, allocations: 0 / 0.8723 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.6825, allocations: 0 / 0.8723 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.6828, allocations: 0.5224 MB / 0.8728 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.6833, allocations: 152.9 kB / 0.873 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.6836, allocations: 0.6768 MB / 0.8736 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.6836, allocations: 0 / 0.8736 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.6836, allocations: 11.44 kB / 0.8736 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6837, allocations: 0 / 0.8736 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.7047, allocations: 0.6676 MB / 0.8743 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.705, allocations: 204.2 kB / 0.8745 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/2.151, allocations: 0 / 0.8745 GB, free: 7.438 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)