Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001082/0.001082, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 191.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 70.11 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2727, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003637/0.2764, allocations: 1.437 MB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.277, allocations: 179.4 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.2771, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.2771, allocations: 3.938 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.2774, allocations: 15.92 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2777, allocations: 59.11 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2778, allocations: 63.77 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2779, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.278, allocations: 19.98 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.278, allocations: 15.92 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.2781, allocations: 4 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.2781, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.2782, allocations: 11.97 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.2782, allocations: 23.88 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2783, allocations: 52.08 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2784, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2784, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.2784, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005903/0.279, allocations: 343.5 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.279, allocations: 8.031 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.2791, allocations: 34.75 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.2791, allocations: 0.9375 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.2793, allocations: 180.2 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2793, allocations: 4.375 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2793, allocations: 8.312 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2795, allocations: 64.81 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2795, allocations: 7.938 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2795, allocations: 0 / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2795, allocations: 0 / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.2796, allocations: 15.98 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.28, allocations: 264.9 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.2801, allocations: 46.5 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.2802, allocations: 12.86 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.2802, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.2804, allocations: 67.47 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.976e-06/0.2804, allocations: 7.984 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000233/0.2806, allocations: 77.53 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.2807, allocations: 106.8 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.2808, allocations: 105.8 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2809, allocations: 25.7 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.2809, allocations: 80.14 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.2809, allocations: 15.89 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.281, allocations: 17.72 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2811, allocations: 322.8 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.2812, allocations: 8 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.2812, allocations: 30.56 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.743e-05/0.2813, allocations: 32.73 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2813, allocations: 384 / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001042/0.2814, allocations: 65.69 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2814, allocations: 4 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2815, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2815, allocations: 4.031 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.2816, allocations: 8 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2816, allocations: 0 / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.2817, allocations: 11.89 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2817, allocations: 4 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 9.927e-05/0.2818, allocations: 125.7 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.2818, allocations: 3.938 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.2819, allocations: 3.5 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2819, allocations: 4 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2819, allocations: 7.938 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2819, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.282, allocations: 173.5 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.282, allocations: 4 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.2821, allocations: 3.984 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2821, allocations: 0 / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2821, allocations: 4 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2821, allocations: 0 / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2821, allocations: 0 / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.2822, allocations: 93.05 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.2823, allocations: 89.02 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2823, allocations: 3.984 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.2824, allocations: 8 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.2825, allocations: 3.984 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2825, allocations: 4 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.2826, allocations: 87.34 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2826, allocations: 3.938 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001904/0.2828, allocations: 15.98 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005076/0.2833, allocations: 0.6281 MB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.2834, allocations: 35.92 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2834, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.2835, allocations: 12 kB / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.2836, allocations: 10.84 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2848, allocations: 1.165 MB / 0.7896 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2851, allocations: 0.6806 MB / 0.7903 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.2852, allocations: 8.078 kB / 0.7903 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.2852, allocations: 15.42 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2852, allocations: 0 / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.3042, allocations: 1.755 MB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.5, allocations: 6.938 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)