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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006178/0.006178, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001371/0.001371, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 291.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9794/0.9794, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 96.06 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3504, allocations: 86.97 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002459/0.3529, allocations: 1.264 MB / 0.7671 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.354, allocations: 0.7349 MB / 0.7679 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.3541, allocations: 0 / 0.7679 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.3541, allocations: 0 / 0.7679 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.3544, allocations: 15.92 kB / 0.7679 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3546, allocations: 54.73 kB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.3547, allocations: 31.84 kB / 0.768 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.3547, allocations: 4 kB / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.3547, allocations: 8 kB / 0.768 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3549, allocations: 11.97 kB / 0.768 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3549, allocations: 3.938 kB / 0.768 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.355, allocations: 11.94 kB / 0.768 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.355, allocations: 4 kB / 0.768 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.355, allocations: 7.984 kB / 0.768 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.3551, allocations: 27.52 kB / 0.768 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3552, allocations: 3.984 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3552, allocations: 0 / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3552, allocations: 4 kB / 0.768 GB, free: 1.691 MB / 0.5294 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.0003842/0.3556, allocations: 331.1 kB / 0.7684 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3556, allocations: 8.031 kB / 0.7684 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.3557, allocations: 110 kB / 0.7685 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.3558, allocations: 76.22 kB / 0.7685 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.356, allocations: 247.6 kB / 0.7688 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.356, allocations: 150.9 kB / 0.7689 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.3561, allocations: 154.9 kB / 0.7691 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.021e-05/0.3562, allocations: 107.4 kB / 0.7692 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.3562, allocations: 79.22 kB / 0.7692 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.3563, allocations: 154.5 kB / 0.7694 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.767e-05/0.3564, allocations: 154.6 kB / 0.7695 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.3565, allocations: 154.5 kB / 0.7697 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.3568, allocations: 453.9 kB / 0.7701 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.3569, allocations: 169.1 kB / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.357, allocations: 84.14 kB / 0.7704 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.357, allocations: 79.22 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.3571, allocations: 113.8 kB / 0.7705 GB, free: 14.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.564e-06/0.3571, allocations: 0 / 0.7705 GB, free: 14.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.013e-05/0.3572, allocations: 33.58 kB / 0.7706 GB, free: 14.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.3572, allocations: 126.7 kB / 0.7707 GB, free: 14.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3574, allocations: 113.8 kB / 0.7708 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3574, allocations: 25.7 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.3574, allocations: 84.14 kB / 0.7709 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.3574, allocations: 0 / 0.7709 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3575, allocations: 21.7 kB / 0.7709 GB, free: 14.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3576, allocations: 310.8 kB / 0.7712 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3576, allocations: 4 kB / 0.7712 GB, free: 14.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.3577, allocations: 11.98 kB / 0.7712 GB, free: 14.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.3577, allocations: 20.89 kB / 0.7713 GB, free: 14.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3577, allocations: 4 kB / 0.7713 GB, free: 14.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.952e-05/0.3578, allocations: 37.69 kB / 0.7713 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3579, allocations: 11.94 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3579, allocations: 0 / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3579, allocations: 0 / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3579, allocations: 3.938 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3579, allocations: 256 / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.358, allocations: 3.953 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.358, allocations: 12.03 kB / 0.7713 GB, free: 14.07 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.3581, allocations: 187.5 kB / 0.7715 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.3582, allocations: 112.9 kB / 0.7716 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.3583, allocations: 112.6 kB / 0.7717 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-05/0.3583, allocations: 176.3 kB / 0.7719 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.265e-05/0.3584, allocations: 180.2 kB / 0.7721 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.862e-05/0.3585, allocations: 188.2 kB / 0.7723 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3588, allocations: 405.2 kB / 0.7726 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.102e-05/0.3588, allocations: 105 kB / 0.7727 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.3589, allocations: 101 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-05/0.359, allocations: 184.1 kB / 0.773 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.733e-05/0.3591, allocations: 180.3 kB / 0.7732 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.467e-05/0.3591, allocations: 188.2 kB / 0.7734 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.805e-05/0.3592, allocations: 180.5 kB / 0.7735 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.3594, allocations: 307.7 kB / 0.7738 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3595, allocations: 186.1 kB / 0.774 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3596, allocations: 192.1 kB / 0.7742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3597, allocations: 101 kB / 0.7743 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.3598, allocations: 180.2 kB / 0.7745 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.3599, allocations: 105 kB / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.3599, allocations: 91.27 kB / 0.7746 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3599, allocations: 0 / 0.7746 GB, free: 10.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003041/0.3602, allocations: 8 kB / 0.7747 GB, free: 10.46 MB / 0.545 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.0006003/0.3609, allocations: 0.8203 MB / 0.7755 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.162e-05/0.3609, allocations: 11.98 kB / 0.7755 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3609, allocations: 0 / 0.7755 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3609, allocations: 0 / 0.7755 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.3614, allocations: 460.9 kB / 0.7759 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3625, allocations: 1.291 MB / 0.7772 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3628, allocations: 0.673 MB / 0.7778 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.3628, allocations: 4 kB / 0.7778 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.3629, allocations: 19.36 kB / 0.7778 GB, free: 7.055 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.3629, allocations: 0 / 0.7778 GB, free: 7.055 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.388, allocations: 1.297 MB / 0.7791 GB, free: 5.945 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.062/9.45, allocations: 12.33 kB / 0.7791 GB, free: 5.938 MB / 0.545 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/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)