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.0007449/0.0007449, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00426/0.00426, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.194/1.194, allocations: 223.2 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6901/0.6901, allocations: 132.3 MB / 423.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 12 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3319, allocations: 81.58 MB / 0.5838 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001293/0.3333, allocations: 1.139 MB / 0.5849 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000462/0.3337, allocations: 362.2 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.3338, allocations: 0.9375 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.3338, allocations: 0.6562 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.3339, allocations: 10.31 kB / 0.5852 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.332e-05/0.3339, allocations: 6.016 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.713e-05/0.334, allocations: 16.83 kB / 0.5852 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.3341, allocations: 4.625 kB / 0.5852 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3342, allocations: 11.8 kB / 0.5853 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.3342, allocations: 5.109 kB / 0.5853 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3342, allocations: 3.938 kB / 0.5853 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-06/0.3343, allocations: 1.219 kB / 0.5853 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.3343, allocations: 8.453 kB / 0.5853 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.3343, allocations: 29.33 kB / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.999e-05/0.3344, allocations: 17.3 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3344, allocations: 0.9688 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3344, allocations: 0 / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.3344, allocations: 0 / 0.5853 GB, free: 2.895 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.0002368/0.3346, allocations: 331.9 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3347, allocations: 9.062 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.3347, allocations: 32.34 kB / 0.5857 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.702e-05/0.3347, allocations: 2.609 kB / 0.5857 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.847e-05/0.3348, allocations: 171.7 kB / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3348, allocations: 1.438 kB / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-06/0.3348, allocations: 1.594 kB / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.753e-05/0.3349, allocations: 39.41 kB / 0.5859 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.3349, allocations: 0 / 0.5859 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.3349, allocations: 5.781 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3349, allocations: 0 / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.3349, allocations: 9.047 kB / 0.5859 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.3352, allocations: 251.6 kB / 0.5861 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.022e-05/0.3352, allocations: 24.98 kB / 0.5862 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.3352, allocations: 15.58 kB / 0.5862 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.3353, allocations: 4 kB / 0.5862 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/0.3353, allocations: 32.41 kB / 0.5862 GB, free: 1.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3353, allocations: 0 / 0.5862 GB, free: 1.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.3354, allocations: 48.05 kB / 0.5863 GB, free: 1.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.3354, allocations: 56.06 kB / 0.5863 GB, free: 1.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.3355, allocations: 96.45 kB / 0.5864 GB, free: 1.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.3355, allocations: 31.31 kB / 0.5864 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/0.3355, allocations: 85.05 kB / 0.5865 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.3355, allocations: 5.391 kB / 0.5865 GB, free: 1.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.3356, allocations: 11.14 kB / 0.5865 GB, free: 1.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.3356, allocations: 316.9 kB / 0.5868 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.3356, allocations: 5.781 kB / 0.5868 GB, free: 1.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.3356, allocations: 2.844 kB / 0.5868 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/0.3357, allocations: 14.28 kB / 0.5869 GB, free: 1.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3357, allocations: 0 / 0.5869 GB, free: 1.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.862e-05/0.3357, allocations: 44.05 kB / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3357, allocations: 5.203 kB / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3357, allocations: 1.188 kB / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3358, allocations: 0.5625 kB / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.3358, allocations: 6.562 kB / 0.5869 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3358, allocations: 1.719 kB / 0.5869 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.3358, allocations: 0 / 0.5869 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3359, allocations: 4.969 kB / 0.5869 GB, free: 1.156 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.3359, allocations: 118.2 kB / 0.587 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.3359, allocations: 0.8438 kB / 0.587 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.3359, allocations: 4.766 kB / 0.587 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3359, allocations: 1.438 kB / 0.587 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.336, allocations: 0 / 0.587 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.336, allocations: 0.6562 kB / 0.587 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.658e-05/0.3361, allocations: 157 kB / 0.5872 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3361, allocations: 0.9062 kB / 0.5872 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.3361, allocations: 3.203 kB / 0.5872 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3361, allocations: 0.7969 kB / 0.5872 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.3361, allocations: 1.25 kB / 0.5872 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3361, allocations: 4 kB / 0.5872 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3361, allocations: 0.9688 kB / 0.5872 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.148e-05/0.3362, allocations: 139.2 kB / 0.5873 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.3362, allocations: 82.75 kB / 0.5874 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-06/0.3362, allocations: 5.125 kB / 0.5874 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.3363, allocations: 0.6094 kB / 0.5874 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.3363, allocations: 5.672 kB / 0.5874 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3363, allocations: 4.875 kB / 0.5874 GB, free: 0.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.121e-05/0.3363, allocations: 80.03 kB / 0.5875 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3363, allocations: 0 / 0.5875 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001989/0.3365, allocations: 3.344 kB / 0.5875 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 (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.0002392/0.3368, allocations: 0.6756 MB / 0.5882 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.856e-05/0.3368, allocations: 7.109 kB / 0.5882 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3368, allocations: 0 / 0.5882 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.3369, allocations: 8.891 kB / 0.5882 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.0001895/0.3371, allocations: 1.438 kB / 0.5882 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.3379, allocations: 1.154 MB / 0.5893 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3381, allocations: 0.6782 MB / 0.59 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.37e-05/0.3381, allocations: 5.75 kB / 0.59 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.3381, allocations: 8.953 kB / 0.59 GB, free: 13.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3381, allocations: 0 / 0.59 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1793/0.5174, allocations: 0.8667 MB / 0.5908 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.5177, allocations: 213.9 kB / 0.591 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.102, allocations: 3.938 kB / 0.591 GB, free: 13.58 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/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)