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.007018/0.007018, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001779/0.001779, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 296.4 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.9954/0.9954, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 99.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3716, 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.002231/0.3739, allocations: 1.253 MB / 0.7671 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.375, allocations: 0.7427 MB / 0.7679 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.375, allocations: 3.938 kB / 0.7679 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.375, allocations: 0 / 0.7679 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.3753, allocations: 3.938 kB / 0.7679 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3755, allocations: 62.23 kB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.3755, allocations: 23.91 kB / 0.768 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.182e-05/0.3756, allocations: 0 / 0.768 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.3756, allocations: 11.94 kB / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3758, allocations: 19.97 kB / 0.768 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3758, allocations: 0 / 0.768 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/0.3758, allocations: 4 kB / 0.768 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.3759, allocations: 7.938 kB / 0.768 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.3759, allocations: 7.984 kB / 0.768 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.027e-05/0.376, allocations: 31.56 kB / 0.768 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.376, allocations: 0 / 0.768 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.376, allocations: 0 / 0.768 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.376, allocations: 0 / 0.768 GB, free: 1.703 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.000363/0.3764, allocations: 327.6 kB / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3765, allocations: 12.03 kB / 0.7684 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.3765, allocations: 106 kB / 0.7685 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.3766, allocations: 76.22 kB / 0.7685 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3768, allocations: 255.6 kB / 0.7688 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.3769, allocations: 150.9 kB / 0.7689 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.3769, allocations: 150.9 kB / 0.7691 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.377, allocations: 107.3 kB / 0.7692 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.3771, allocations: 79.22 kB / 0.7692 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3771, allocations: 154.6 kB / 0.7694 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.788e-05/0.3772, allocations: 154.6 kB / 0.7695 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.3773, allocations: 150.6 kB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3776, allocations: 457.9 kB / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.859e-05/0.3777, allocations: 173.1 kB / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.3778, allocations: 80.14 kB / 0.7704 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3778, allocations: 75.28 kB / 0.7704 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/0.3779, allocations: 109.8 kB / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.835e-06/0.3779, allocations: 0 / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.423e-05/0.378, allocations: 41.52 kB / 0.7706 GB, free: 14.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.3781, allocations: 126.7 kB / 0.7707 GB, free: 14.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3782, allocations: 113.8 kB / 0.7708 GB, free: 14.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3782, allocations: 25.7 kB / 0.7708 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.3783, allocations: 84.14 kB / 0.7709 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.3783, allocations: 0 / 0.7709 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3783, allocations: 21.7 kB / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3785, allocations: 314.8 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.3785, allocations: 4 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.3785, allocations: 15.98 kB / 0.7712 GB, free: 14.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.3786, allocations: 12.86 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3786, allocations: 0 / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001112/0.3787, allocations: 49.61 kB / 0.7713 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3787, allocations: 7.938 kB / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3787, allocations: 0 / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.3787, allocations: 0 / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.936e-06/0.3788, allocations: 4 kB / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3788, allocations: 0 / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.3789, allocations: 8.078 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3789, allocations: 3.984 kB / 0.7713 GB, free: 14.09 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.0001199/0.379, allocations: 191.5 kB / 0.7715 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.3791, allocations: 104.9 kB / 0.7716 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.695e-05/0.3792, allocations: 116.5 kB / 0.7717 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.899e-05/0.3792, allocations: 176.3 kB / 0.7719 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-05/0.3793, allocations: 188.2 kB / 0.7721 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.903e-05/0.3794, allocations: 176.3 kB / 0.7722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.3797, allocations: 405.2 kB / 0.7726 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.486e-05/0.3797, allocations: 104.9 kB / 0.7727 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.3798, allocations: 105 kB / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-05/0.3799, allocations: 188.1 kB / 0.773 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/0.38, allocations: 180.3 kB / 0.7732 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.364e-05/0.3801, allocations: 180.2 kB / 0.7733 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-05/0.3801, allocations: 184.5 kB / 0.7735 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.3803, allocations: 307.8 kB / 0.7738 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3804, allocations: 182.1 kB / 0.774 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.3805, allocations: 188.1 kB / 0.7742 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.3806, allocations: 109.2 kB / 0.7743 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.3807, allocations: 176.3 kB / 0.7744 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.3808, allocations: 116.9 kB / 0.7746 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.451e-05/0.3808, allocations: 83.27 kB / 0.7746 GB, free: 10.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3809, allocations: 4 kB / 0.7746 GB, free: 10.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002277/0.3811, allocations: 4 kB / 0.7746 GB, free: 10.47 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.0006564/0.3817, allocations: 0.8266 MB / 0.7754 GB, free: 9.617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.501e-05/0.3818, allocations: 11.94 kB / 0.7755 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3818, allocations: 0 / 0.7755 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.3819, allocations: 0 / 0.7755 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3823, allocations: 465 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.001167/0.3834, allocations: 1.287 MB / 0.7772 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3838, allocations: 0.6808 MB / 0.7778 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.3838, allocations: 7.984 kB / 0.7778 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.3838, allocations: 7.438 kB / 0.7778 GB, free: 7.059 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3838, allocations: 0 / 0.7778 GB, free: 7.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.408, allocations: 1.293 MB / 0.7791 GB, free: 5.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/8.019, allocations: 14.86 kB / 0.7791 GB, free: 5.945 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)