Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_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.001641/0.001641, allocations: 108 kB / 15.6 MB, free: 132 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.00203/0.00203, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.679/2.679, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.792/1.792, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 65.09 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2759, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.004621/0.2805, allocations: 1.42 MB / 0.5859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.2814, allocations: 185.1 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.2815, allocations: 3.938 kB / 0.5861 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.2815, allocations: 3.938 kB / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.2819, allocations: 27.89 kB / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.2822, allocations: 54.98 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2823, allocations: 43.91 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2825, allocations: 11.92 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.2826, allocations: 27.92 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.2827, allocations: 15.98 kB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.2827, allocations: 4 kB / 0.5862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.2828, allocations: 7.938 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.2828, allocations: 19.91 kB / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.2829, allocations: 11.94 kB / 0.5863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2831, allocations: 48.14 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2831, allocations: 0 / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.762e-06/0.2831, allocations: 0 / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2831, allocations: 3.938 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB 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.0007029/0.2838, allocations: 343.5 kB / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.2839, allocations: 12.03 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.2839, allocations: 34.73 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.284, allocations: 4.938 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.2842, allocations: 168.2 kB / 0.5869 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2842, allocations: 4.375 kB / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2843, allocations: 384 / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.2845, allocations: 76.75 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2845, allocations: 3.938 kB / 0.5869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2845, allocations: 0 / 0.5869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2845, allocations: 0 / 0.5869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.2846, allocations: 15.98 kB / 0.587 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2861, allocations: 261 kB / 0.5872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2862, allocations: 54.44 kB / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.2863, allocations: 16.86 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.2864, allocations: 0 / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.2866, allocations: 63.48 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.875e-06/0.2867, allocations: 0 / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003541/0.287, allocations: 77.52 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.2871, allocations: 102.8 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2873, allocations: 113.8 kB / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.2873, allocations: 25.7 kB / 0.5876 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.2874, allocations: 88.14 kB / 0.5877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.2875, allocations: 3.906 kB / 0.5877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.2876, allocations: 25.7 kB / 0.5877 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2877, allocations: 310.8 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.2878, allocations: 11.98 kB / 0.5881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2879, allocations: 38.58 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.288, allocations: 36.72 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2881, allocations: 0 / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/0.2883, allocations: 53.69 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.2883, allocations: 8 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2883, allocations: 0 / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.2884, allocations: 192 / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2885, allocations: 7.938 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2885, allocations: 3.938 kB / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.2887, allocations: 23.92 kB / 0.5882 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2888, allocations: 0 / 0.5882 GB, free: 340 kB / 494.1 MB 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 0.0001563/0.2889, allocations: 117.8 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.289, allocations: 0 / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.2891, allocations: 15.48 kB / 0.5883 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2891, allocations: 0 / 0.5883 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.2891, allocations: 0 / 0.5883 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2891, allocations: 3.938 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2893, allocations: 165.6 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2894, allocations: 0 / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.2894, allocations: 12.44 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.2895, allocations: 3.984 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2895, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.2895, allocations: 4 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2895, allocations: 0 / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.2898, allocations: 89.06 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2899, allocations: 88.94 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.2899, allocations: 4 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.2901, allocations: 11.98 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.2902, allocations: 11.98 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2902, allocations: 0 / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.2903, allocations: 79.28 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.686e-06/0.2903, allocations: 0 / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003931/0.2908, allocations: 19.94 kB / 0.5888 GB, free: 15.62 MB / 0.4981 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.0006542/0.2914, allocations: 0.6254 MB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.2917, allocations: 39.92 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2917, allocations: 0 / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.2918, allocations: 15.98 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2921, allocations: 8 kB / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2939, allocations: 1.168 MB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2942, allocations: 0.6846 MB / 0.5913 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.268e-05/0.2943, allocations: 4 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.2944, allocations: 11.44 kB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.2944, allocations: 3.938 kB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/0.4022, allocations: 1.741 MB / 0.593 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/18.09, allocations: 4.297 kB / 0.593 GB, free: 11.33 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)