Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001846/0.001846, 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.007238/0.007238, allocations: 192.9 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 3.162/3.162, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.611/1.611, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.0027, allocations: 64.28 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.256, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.004939/0.261, allocations: 1.472 MB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2625, allocations: 432.6 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.2626, allocations: 0 / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.2627, allocations: 3.938 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2628, allocations: 7.922 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.2631, allocations: 27.97 kB / 0.5864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2632, allocations: 39.86 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2634, allocations: 19.98 kB / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.2636, allocations: 23.86 kB / 0.5864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2637, allocations: 19.92 kB / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2638, allocations: 0 / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.2638, allocations: 4 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.2638, allocations: 7.984 kB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.2639, allocations: 27.86 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.2641, allocations: 36.11 kB / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2641, allocations: 4 kB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2641, allocations: 0 / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2641, allocations: 0 / 0.5865 GB, free: 2.328 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000678/0.2648, allocations: 343.4 kB / 0.5869 GB, free: 1.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.2649, allocations: 8.031 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.265, allocations: 46.73 kB / 0.5869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.265, allocations: 4.844 kB / 0.5869 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.2653, allocations: 168.3 kB / 0.5871 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2653, allocations: 4.375 kB / 0.5871 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2653, allocations: 4.375 kB / 0.5871 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2655, allocations: 57.8 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2656, allocations: 0 / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2656, allocations: 0 / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.2656, allocations: 0 / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2657, allocations: 27.98 kB / 0.5872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.2663, allocations: 284.8 kB / 0.5874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.2667, allocations: 62.58 kB / 0.5875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.2668, allocations: 28.89 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.2668, allocations: 8.031 kB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.2669, allocations: 30.56 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.2669, allocations: 3.938 kB / 0.5876 GB, free: 1.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003313/0.2672, allocations: 73.58 kB / 0.5876 GB, free: 1.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2673, allocations: 51.41 kB / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2674, allocations: 97.86 kB / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.2675, allocations: 25.7 kB / 0.5878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.2676, allocations: 100 kB / 0.5879 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.2676, allocations: 11.81 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.2677, allocations: 17.72 kB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2679, allocations: 322.8 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.2679, allocations: 8 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.268, allocations: 12.31 kB / 0.5883 GB, free: 348 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2681, allocations: 36.84 kB / 0.5883 GB, free: 308 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2681, allocations: 0 / 0.5883 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.2683, allocations: 61.59 kB / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2684, allocations: 4 kB / 0.5884 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2684, allocations: 8 kB / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.2684, allocations: 0 / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2686, allocations: 4 kB / 0.5884 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2686, allocations: 3.984 kB / 0.5884 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.2687, allocations: 4 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2687, allocations: 3.938 kB / 0.5884 GB, free: 212 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: 0 () * 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.0001193/0.2688, allocations: 117.8 kB / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.2689, allocations: 0 / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.2692, allocations: 81.28 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2693, allocations: 4 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2693, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2693, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.2696, allocations: 189.4 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2696, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.2698, allocations: 19.92 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2698, allocations: 0 / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2698, allocations: 0 / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2699, allocations: 0 / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2699, allocations: 4 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2701, allocations: 167.5 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.2702, allocations: 89 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2703, allocations: 0 / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.2704, allocations: 8.062 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.2705, allocations: 4 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2705, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.2706, allocations: 83.27 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2706, allocations: 7.938 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004858/0.2711, allocations: 19.88 kB / 0.5891 GB, free: 15.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006781/0.2718, allocations: 0.7027 MB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.272, allocations: 47.91 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2721, allocations: 0 / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.2721, allocations: 27.98 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.2726, allocations: 4 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.2745, allocations: 1.238 MB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.2749, allocations: 0.6888 MB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.067e-05/0.275, allocations: 8.234 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.2751, allocations: 19.42 kB / 0.5918 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of SimCode: time 1.031e-06/0.2751, allocations: 0 / 0.5918 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/0.4137, allocations: 1.365 MB / 0.5931 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.84, allocations: 4.062 kB / 0.5931 GB, free: 11.21 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)