Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.8365/0.8365, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001271/0.001271, allocations: 179.8 kB / 182.2 MB, free: 9.465 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.63/1.63, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009684/0.0009682, allocations: 100 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.001801, allocations: 273.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.206e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5093, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.6521, allocations: 108.2 MB / 0.8631 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.6524, allocations: 83.94 kB / 0.8632 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005929/0.6583, allocations: 2.214 MB / 0.8654 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6584, allocations: 3.984 kB / 0.8654 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6584, allocations: 4 kB / 0.8654 GB, free: 1.277 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.0002677/0.6586, allocations: 322.5 kB / 0.8657 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.6587, allocations: 8.031 kB / 0.8657 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.6588, allocations: 79.27 kB / 0.8658 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.6589, allocations: 238.4 kB / 0.866 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.659, allocations: 158.5 kB / 0.8661 GB, free: 412 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.6591, allocations: 150.6 kB / 0.8663 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.117e-05/0.6591, allocations: 154.6 kB / 0.8664 GB, free: 104 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.149e-05/0.6592, allocations: 101 kB / 0.8665 GB, free: 16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.6592, allocations: 79.22 kB / 0.8666 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.6593, allocations: 154.6 kB / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.6594, allocations: 150.6 kB / 0.8669 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.6596, allocations: 438.4 kB / 0.8673 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.6598, allocations: 165.1 kB / 0.8675 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.6598, allocations: 80.14 kB / 0.8675 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.6599, allocations: 75.28 kB / 0.8676 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.6599, allocations: 117.8 kB / 0.8677 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.6599, allocations: 0 / 0.8677 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 9.311e-05/0.66, allocations: 37.62 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.6601, allocations: 55.34 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.6602, allocations: 93 kB / 0.8679 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.6602, allocations: 29.7 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.6603, allocations: 80.14 kB / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.6603, allocations: 0 / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.6603, allocations: 0 / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6604, allocations: 323.5 kB / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.6604, allocations: 4 kB / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.6605, allocations: 8 kB / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.6605, allocations: 4 kB / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6605, allocations: 0 / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001075/0.6606, allocations: 45.62 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6606, allocations: 4 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6606, allocations: 0 / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6607, allocations: 8.078 kB / 0.8684 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.6607, allocations: 4 kB / 0.8684 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.6607, allocations: 0 / 0.8684 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.6608, allocations: 0 / 0.8684 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.6608, allocations: 3.984 kB / 0.8684 GB, free: 13.96 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.000104/0.6609, allocations: 180.3 kB / 0.8686 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.86e-05/0.661, allocations: 130.9 kB / 0.8687 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.6611, allocations: 116.8 kB / 0.8688 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.6611, allocations: 116.9 kB / 0.8689 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-05/0.6612, allocations: 180.3 kB / 0.8691 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.099e-05/0.6613, allocations: 184.2 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/0.6614, allocations: 176.3 kB / 0.8694 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.6616, allocations: 381.8 kB / 0.8698 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/0.6617, allocations: 108.9 kB / 0.8699 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.6617, allocations: 105 kB / 0.87 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.787e-05/0.6618, allocations: 176.3 kB / 0.8702 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.6619, allocations: 188.2 kB / 0.8703 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.289e-05/0.662, allocations: 180.2 kB / 0.8705 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.855e-05/0.662, allocations: 176.3 kB / 0.8707 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.6622, allocations: 307.8 kB / 0.871 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6623, allocations: 183.3 kB / 0.8712 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.6624, allocations: 184.2 kB / 0.8713 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.6625, allocations: 108.9 kB / 0.8714 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.6626, allocations: 184.2 kB / 0.8716 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.6626, allocations: 108.9 kB / 0.8717 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.6627, allocations: 83.28 kB / 0.8718 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6627, allocations: 4 kB / 0.8718 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002389/0.6629, allocations: 4 kB / 0.8718 GB, free: 10.25 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.000501/0.6634, allocations: 0.8176 MB / 0.8726 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.118e-05/0.6635, allocations: 7.938 kB / 0.8726 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6635, allocations: 0 / 0.8726 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.6635, allocations: 0 / 0.8726 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.6639, allocations: 0.5308 MB / 0.8731 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.6643, allocations: 165.8 kB / 0.8733 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.6645, allocations: 0.6768 MB / 0.8739 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.6646, allocations: 0 / 0.8739 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.6646, allocations: 15.42 kB / 0.874 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of SimCode: time 7.31e-07/0.6646, allocations: 0 / 0.874 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.6867, allocations: 0.7666 MB / 0.8747 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.687, allocations: 203.8 kB / 0.8749 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.169, allocations: 4.031 kB / 0.8749 GB, free: 6.953 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)