Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.0008512/0.0008511, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009373/0.0009375, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004515, allocations: 16.91 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3957, allocations: 81.57 MB / 0.5832 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001322/0.3971, allocations: 1.131 MB / 0.5843 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004888/0.3976, allocations: 349.5 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.3976, allocations: 0 / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.3976, allocations: 4.328 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.3977, allocations: 1.875 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.483e-05/0.3978, allocations: 8.75 kB / 0.5846 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.3978, allocations: 17.23 kB / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.3979, allocations: 7.359 kB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.398, allocations: 6.391 kB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.3981, allocations: 8.062 kB / 0.5847 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.3981, allocations: 4.688 kB / 0.5847 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.3981, allocations: 0.9062 kB / 0.5847 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-06/0.3981, allocations: 0.6094 kB / 0.5847 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.3982, allocations: 31.3 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.446e-05/0.3982, allocations: 7.688 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3982, allocations: 1.125 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3982, allocations: 0 / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3982, allocations: 0 / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002733/0.3985, allocations: 324.9 kB / 0.585 GB, free: 2.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3986, allocations: 13.41 kB / 0.585 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.3986, allocations: 39.25 kB / 0.5851 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.3986, allocations: 5.922 kB / 0.5851 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.619e-05/0.3987, allocations: 169.5 kB / 0.5852 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.3987, allocations: 1.531 kB / 0.5852 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3988, allocations: 1.062 kB / 0.5852 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.338e-05/0.3988, allocations: 35.19 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.3988, allocations: 0.6562 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.3988, allocations: 1.094 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3989, allocations: 0 / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.3989, allocations: 13.92 kB / 0.5853 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.3991, allocations: 246.8 kB / 0.5855 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.666e-05/0.3992, allocations: 28.59 kB / 0.5855 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.3992, allocations: 11.97 kB / 0.5855 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.3992, allocations: 0 / 0.5855 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.3992, allocations: 36.41 kB / 0.5856 GB, free: 1.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.3992, allocations: 3.938 kB / 0.5856 GB, free: 1.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001202/0.3994, allocations: 48.36 kB / 0.5856 GB, free: 1.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3994, allocations: 56.42 kB / 0.5857 GB, free: 1.754 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.3994, allocations: 99.95 kB / 0.5858 GB, free: 1.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.3995, allocations: 26.36 kB / 0.5858 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.3995, allocations: 81.2 kB / 0.5859 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.3995, allocations: 13.48 kB / 0.5859 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.3995, allocations: 5.031 kB / 0.5859 GB, free: 1.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.3996, allocations: 313.1 kB / 0.5862 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.3996, allocations: 1.906 kB / 0.5862 GB, free: 1.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-06/0.3996, allocations: 2.641 kB / 0.5862 GB, free: 1.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.584e-05/0.3996, allocations: 6.781 kB / 0.5862 GB, free: 1.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3996, allocations: 0 / 0.5862 GB, free: 1.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.813e-05/0.3997, allocations: 39.44 kB / 0.5862 GB, free: 1.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3997, allocations: 5.562 kB / 0.5863 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3997, allocations: 4.656 kB / 0.5863 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3997, allocations: 1 kB / 0.5863 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.286e-05/0.3997, allocations: 2.75 kB / 0.5863 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3998, allocations: 5.047 kB / 0.5863 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.3998, allocations: 4.609 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.3998, allocations: 1.219 kB / 0.5863 GB, free: 1.16 MB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.3998, allocations: 108.9 kB / 0.5864 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.3999, allocations: 2.094 kB / 0.5864 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.3999, allocations: 4.25 kB / 0.5864 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3999, allocations: 4.781 kB / 0.5864 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3999, allocations: 0 / 0.5864 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3999, allocations: 5.219 kB / 0.5864 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.4, allocations: 153.4 kB / 0.5865 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4, allocations: 0.6562 kB / 0.5865 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.4, allocations: 3.578 kB / 0.5865 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4, allocations: 0 / 0.5865 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.4001, allocations: 0.9375 kB / 0.5865 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4001, allocations: 4.734 kB / 0.5865 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4001, allocations: 1.031 kB / 0.5865 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.525e-05/0.4001, allocations: 142.7 kB / 0.5867 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.4002, allocations: 86.75 kB / 0.5868 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.4002, allocations: 0.6562 kB / 0.5868 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.4002, allocations: 1.156 kB / 0.5868 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.4002, allocations: 1.703 kB / 0.5868 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.4002, allocations: 4.812 kB / 0.5868 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.145e-05/0.4003, allocations: 79.36 kB / 0.5869 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4003, allocations: 4.031 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001972/0.4005, allocations: 7.594 kB / 0.5869 GB, free: 0.5078 MB / 430.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.4008, allocations: 0.6733 MB / 0.5875 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.4008, allocations: 7.625 kB / 0.5875 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4008, allocations: 4.094 kB / 0.5875 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.4008, allocations: 8.391 kB / 0.5875 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.401, allocations: 3.172 kB / 0.5875 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.4015, allocations: 342.6 kB / 0.5879 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.4017, allocations: 0.6788 MB / 0.5885 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.4018, allocations: 1 kB / 0.5885 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.4018, allocations: 8.969 kB / 0.5885 GB, free: 14.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4018, allocations: 1.156 kB / 0.5885 GB, free: 14.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.412, allocations: 0.864 MB / 0.5894 GB, free: 14.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.4122, allocations: 201.5 kB / 0.5896 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/1.936, allocations: 2.391 kB / 0.5896 GB, free: 14.45 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) Environment - environmentSimulation: