Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.921/0.921, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001083/0.001083, allocations: 180.9 kB / 182.2 MB, free: 9.426 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.532/1.532, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009131/0.0009132, allocations: 99.97 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 272.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.083e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.423, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.5623, allocations: 108 MB / 0.863 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5626, allocations: 81.33 kB / 0.863 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005054/0.5676, allocations: 2.017 MB / 0.865 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5677, allocations: 0 / 0.865 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.5677, allocations: 0 / 0.865 GB, free: 1.645 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.0002468/0.5679, allocations: 326.5 kB / 0.8653 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.568, allocations: 8.031 kB / 0.8653 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.568, allocations: 79.28 kB / 0.8654 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.5682, allocations: 234.4 kB / 0.8656 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.5683, allocations: 166.4 kB / 0.8658 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.5684, allocations: 150.6 kB / 0.8659 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.943e-05/0.5684, allocations: 154.6 kB / 0.8661 GB, free: 472 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.594e-05/0.5685, allocations: 101 kB / 0.8662 GB, free: 364 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.5685, allocations: 75.28 kB / 0.8662 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.5686, allocations: 150.6 kB / 0.8664 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.5687, allocations: 154.6 kB / 0.8665 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.5689, allocations: 434.4 kB / 0.867 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.569, allocations: 173.1 kB / 0.8671 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.5691, allocations: 80.14 kB / 0.8672 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.5691, allocations: 79.28 kB / 0.8673 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.5692, allocations: 113.8 kB / 0.8674 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5692, allocations: 0 / 0.8674 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.672e-05/0.5693, allocations: 25.7 kB / 0.8674 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.5693, allocations: 51.41 kB / 0.8675 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.5694, allocations: 104.9 kB / 0.8676 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.5694, allocations: 29.64 kB / 0.8676 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.5695, allocations: 84.14 kB / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.5695, allocations: 0 / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.5695, allocations: 0 / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5696, allocations: 315.5 kB / 0.868 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.5696, allocations: 4 kB / 0.868 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.5696, allocations: 15.92 kB / 0.868 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.5697, allocations: 4 kB / 0.868 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5697, allocations: 0 / 0.868 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.5698, allocations: 41.78 kB / 0.868 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5698, allocations: 8 kB / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5698, allocations: 0 / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5698, allocations: 3.953 kB / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.5698, allocations: 0 / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.5699, allocations: 0 / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.5699, allocations: 256 / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5699, allocations: 4 kB / 0.868 GB, free: 14.33 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 9.084e-05/0.57, allocations: 176.3 kB / 0.8682 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.395e-05/0.5701, allocations: 150.6 kB / 0.8684 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.5702, allocations: 112.8 kB / 0.8685 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.5702, allocations: 112.9 kB / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-05/0.5703, allocations: 180.2 kB / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.15e-05/0.5704, allocations: 180.2 kB / 0.8689 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/0.5704, allocations: 180.2 kB / 0.8691 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.5707, allocations: 389.8 kB / 0.8695 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/0.5707, allocations: 101 kB / 0.8696 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.5708, allocations: 104.9 kB / 0.8697 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.5708, allocations: 180.3 kB / 0.8698 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.5709, allocations: 176.3 kB / 0.87 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.882e-05/0.571, allocations: 188.2 kB / 0.8702 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-05/0.5711, allocations: 180.2 kB / 0.8703 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.5712, allocations: 303.8 kB / 0.8706 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.5713, allocations: 183.4 kB / 0.8708 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.5714, allocations: 184.2 kB / 0.871 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.5714, allocations: 108.9 kB / 0.8711 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.5715, allocations: 184.2 kB / 0.8713 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.5716, allocations: 109 kB / 0.8714 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.5716, allocations: 83.27 kB / 0.8714 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5716, allocations: 0 / 0.8714 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002133/0.5718, allocations: 4 kB / 0.8714 GB, free: 10.61 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.0004836/0.5723, allocations: 0.8201 MB / 0.8722 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.5724, allocations: 4 kB / 0.8723 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5724, allocations: 0 / 0.8723 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5724, allocations: 64 / 0.8723 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.5727, allocations: 0.534 MB / 0.8728 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.573, allocations: 156.9 kB / 0.8729 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.5733, allocations: 0.6768 MB / 0.8736 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.5733, allocations: 0 / 0.8736 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.5733, allocations: 15.44 kB / 0.8736 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5734, allocations: 0 / 0.8736 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.5938, allocations: 0.7489 MB / 0.8743 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.594, allocations: 186.4 kB / 0.8745 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/1.999, allocations: 0.8438 kB / 0.8745 GB, free: 7.414 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)