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.00104/0.00104, allocations: 108 kB / 15.61 MB, free: 148 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.001081/0.001081, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.249/1.249, 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/package.mo): time 0.704/0.704, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.81 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3265, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002282/0.3288, allocations: 1.413 MB / 0.5816 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.3293, allocations: 366 kB / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.3293, allocations: 0 / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.3293, allocations: 0.6094 kB / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.3294, allocations: 9.984 kB / 0.5819 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.083e-05/0.3294, allocations: 1.469 kB / 0.5819 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.3295, allocations: 21.61 kB / 0.582 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.3296, allocations: 12.44 kB / 0.582 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3297, allocations: 10.19 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.3297, allocations: 12.75 kB / 0.582 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3298, allocations: 1.375 kB / 0.582 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-06/0.3298, allocations: 1.438 kB / 0.582 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3298, allocations: 8.578 kB / 0.582 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.3298, allocations: 7.344 kB / 0.582 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.471e-05/0.3299, allocations: 12.72 kB / 0.582 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3299, allocations: 0.9688 kB / 0.582 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3299, allocations: 4 kB / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.3299, allocations: 0 / 0.582 GB, free: 3.281 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.0002507/0.3302, allocations: 329.8 kB / 0.5823 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3302, allocations: 9.562 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.955e-05/0.3302, allocations: 32.17 kB / 0.5824 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.648e-05/0.3302, allocations: 2.125 kB / 0.5824 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.3303, allocations: 171.3 kB / 0.5825 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3303, allocations: 2.047 kB / 0.5826 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.3304, allocations: 1.375 kB / 0.5826 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.62e-05/0.3304, allocations: 44.02 kB / 0.5826 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3304, allocations: 0 / 0.5826 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.3304, allocations: 7.938 kB / 0.5826 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3304, allocations: 4.781 kB / 0.5826 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.3305, allocations: 5.312 kB / 0.5826 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.3307, allocations: 247.2 kB / 0.5828 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.743e-05/0.3307, allocations: 24.95 kB / 0.5829 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.3308, allocations: 14.95 kB / 0.5829 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.3308, allocations: 1.781 kB / 0.5829 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.105e-05/0.3308, allocations: 35.34 kB / 0.5829 GB, free: 2.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.3308, allocations: 0 / 0.5829 GB, free: 2.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001091/0.3309, allocations: 44.86 kB / 0.583 GB, free: 2.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.589e-05/0.3309, allocations: 52.22 kB / 0.583 GB, free: 2.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.331, allocations: 104.7 kB / 0.5831 GB, free: 2.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-06/0.331, allocations: 25.7 kB / 0.5831 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.985e-05/0.331, allocations: 82.05 kB / 0.5832 GB, free: 1.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.331, allocations: 5.516 kB / 0.5832 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.3311, allocations: 16.94 kB / 0.5832 GB, free: 1.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.529e-05/0.3311, allocations: 316.2 kB / 0.5835 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.3311, allocations: 2.281 kB / 0.5835 GB, free: 1.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.3311, allocations: 2.938 kB / 0.5835 GB, free: 1.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.3312, allocations: 22.55 kB / 0.5836 GB, free: 1.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3312, allocations: 0 / 0.5836 GB, free: 1.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.643e-05/0.3312, allocations: 40.08 kB / 0.5836 GB, free: 1.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.3312, allocations: 5.109 kB / 0.5836 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3312, allocations: 5.406 kB / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.3313, allocations: 0 / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.3313, allocations: 4.062 kB / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3313, allocations: 0 / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.3313, allocations: 0 / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-06/0.3313, allocations: 5.328 kB / 0.5836 GB, free: 1.547 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.809e-05/0.3314, allocations: 114.3 kB / 0.5837 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.3314, allocations: 1.312 kB / 0.5837 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.3314, allocations: 12.28 kB / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3314, allocations: 0.875 kB / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3314, allocations: 0 / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3314, allocations: 1.547 kB / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.3315, allocations: 156.8 kB / 0.5839 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3316, allocations: 0 / 0.5839 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.3316, allocations: 4.5 kB / 0.5839 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3316, allocations: 4 kB / 0.5839 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.3316, allocations: 0.7031 kB / 0.5839 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3316, allocations: 1.625 kB / 0.5839 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3316, allocations: 0 / 0.5839 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.541e-05/0.3317, allocations: 138.5 kB / 0.584 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.3317, allocations: 79.08 kB / 0.5841 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.3317, allocations: 1.094 kB / 0.5841 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.3317, allocations: 8.578 kB / 0.5841 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.3318, allocations: 5.922 kB / 0.5841 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.3318, allocations: 1.062 kB / 0.5841 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.146e-05/0.3318, allocations: 91.19 kB / 0.5842 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3318, allocations: 0 / 0.5842 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.332, allocations: 2.938 kB / 0.5842 GB, free: 0.8867 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.000208/0.3322, allocations: 0.6697 MB / 0.5849 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.3323, allocations: 11.47 kB / 0.5849 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3323, allocations: 0 / 0.5849 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.3323, allocations: 7.828 kB / 0.5849 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.3325, allocations: 2.234 kB / 0.5849 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.3333, allocations: 1.149 MB / 0.586 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3335, allocations: 0.6795 MB / 0.5867 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.222e-05/0.3336, allocations: 1.812 kB / 0.5867 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.3336, allocations: 12.34 kB / 0.5867 GB, free: 14.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3336, allocations: 3.938 kB / 0.5867 GB, free: 14.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.3481, allocations: 1.019 MB / 0.5877 GB, free: 14.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.987, allocations: 10.53 kB / 0.5877 GB, free: 14.02 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)