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.004336/0.004336, allocations: 97.59 kB / 15.73 MB, free: 6.008 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.001131/0.001131, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.159/1.159, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 283.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.8304/0.8304, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3229, allocations: 86.98 MB / 0.7659 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001934/0.3249, allocations: 1.253 MB / 0.7671 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.3257, allocations: 0.7388 MB / 0.7679 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.3258, allocations: 0 / 0.7679 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.3258, allocations: 0 / 0.7679 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.326, allocations: 11.92 kB / 0.7679 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.3261, allocations: 62.66 kB / 0.7679 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.259e-05/0.3262, allocations: 23.92 kB / 0.768 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.3262, allocations: 4 kB / 0.768 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.3263, allocations: 15.92 kB / 0.768 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.3264, allocations: 11.92 kB / 0.768 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3264, allocations: 0 / 0.768 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.3265, allocations: 8 kB / 0.768 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.3265, allocations: 15.91 kB / 0.768 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.3265, allocations: 8 kB / 0.768 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.354e-05/0.3266, allocations: 19.58 kB / 0.768 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3266, allocations: 0 / 0.768 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3266, allocations: 4 kB / 0.768 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3266, allocations: 0 / 0.768 GB, free: 1.848 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.0002775/0.3269, allocations: 333.3 kB / 0.7684 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.327, allocations: 8.031 kB / 0.7684 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.327, allocations: 106 kB / 0.7685 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.3271, allocations: 84.16 kB / 0.7685 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3272, allocations: 247.6 kB / 0.7688 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.3272, allocations: 154.9 kB / 0.7689 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.3273, allocations: 154.9 kB / 0.7691 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.417e-05/0.3273, allocations: 103.4 kB / 0.7692 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3274, allocations: 79.22 kB / 0.7693 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.3274, allocations: 154.6 kB / 0.7694 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.3275, allocations: 150.6 kB / 0.7695 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.3275, allocations: 154.5 kB / 0.7697 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.3278, allocations: 449.9 kB / 0.7701 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.3278, allocations: 169.1 kB / 0.7703 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.3279, allocations: 84.14 kB / 0.7704 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3279, allocations: 79.28 kB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3279, allocations: 105.8 kB / 0.7705 GB, free: 15.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3279, allocations: 0 / 0.7705 GB, free: 15.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.36e-05/0.328, allocations: 37.56 kB / 0.7706 GB, free: 15.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.328, allocations: 126.7 kB / 0.7707 GB, free: 14.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.3282, allocations: 110 kB / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3282, allocations: 33.64 kB / 0.7708 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.3282, allocations: 80.14 kB / 0.7709 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.3282, allocations: 0 / 0.7709 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3282, allocations: 17.72 kB / 0.7709 GB, free: 14.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.3283, allocations: 314.8 kB / 0.7712 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.3284, allocations: 4 kB / 0.7712 GB, free: 14.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.3284, allocations: 16.06 kB / 0.7712 GB, free: 14.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.3284, allocations: 24.78 kB / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3284, allocations: 0 / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.628e-05/0.3285, allocations: 33.7 kB / 0.7713 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3285, allocations: 11.94 kB / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3286, allocations: 0 / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.3286, allocations: 3.938 kB / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.3286, allocations: 0 / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.3286, allocations: 0 / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.3287, allocations: 16 kB / 0.7713 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3287, allocations: 4 kB / 0.7713 GB, free: 14.23 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 8.085e-05/0.3288, allocations: 181.1 kB / 0.7715 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.3288, allocations: 116.9 kB / 0.7716 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.3289, allocations: 112.5 kB / 0.7717 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/0.3289, allocations: 176.3 kB / 0.7719 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-05/0.329, allocations: 188.2 kB / 0.7721 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/0.329, allocations: 176.3 kB / 0.7722 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3292, allocations: 409.2 kB / 0.7726 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/0.3293, allocations: 101 kB / 0.7727 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.3293, allocations: 101 kB / 0.7728 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.151e-05/0.3293, allocations: 184.1 kB / 0.773 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.3294, allocations: 192.2 kB / 0.7732 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.101e-05/0.3295, allocations: 180.2 kB / 0.7734 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-05/0.3295, allocations: 176.5 kB / 0.7735 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3296, allocations: 311.8 kB / 0.7738 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.3297, allocations: 182.1 kB / 0.774 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.3297, allocations: 188.1 kB / 0.7742 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.3298, allocations: 101 kB / 0.7743 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.3299, allocations: 176.3 kB / 0.7744 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.3299, allocations: 116.9 kB / 0.7745 GB, free: 10.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.33, allocations: 91.22 kB / 0.7746 GB, free: 10.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.33, allocations: 4 kB / 0.7746 GB, free: 10.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002294/0.3302, allocations: 4 kB / 0.7746 GB, free: 10.61 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.0003993/0.3306, allocations: 0.8321 MB / 0.7755 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.3307, allocations: 7.938 kB / 0.7755 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3307, allocations: 0 / 0.7755 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.3307, allocations: 0 / 0.7755 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.331, allocations: 462.5 kB / 0.7759 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.3318, allocations: 1.287 MB / 0.7772 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.332, allocations: 0.6808 MB / 0.7778 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.616e-05/0.332, allocations: 3.938 kB / 0.7778 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.3321, allocations: 7.438 kB / 0.7778 GB, free: 7.203 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.3321, allocations: 0 / 0.7778 GB, free: 7.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.349, allocations: 1.287 MB / 0.7791 GB, free: 6.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.414/6.763, allocations: 18.3 kB / 0.7791 GB, free: 6.09 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)