Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_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.001424/0.001424, 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.001943/0.001943, allocations: 193.3 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.685/2.685, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.527/1.527, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.39 kB / 0.5055 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2126, allocations: 80.93 MB / 0.5845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003877/0.2165, allocations: 1.404 MB / 0.5859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.2174, allocations: 368.9 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.2175, allocations: 0 / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.2175, allocations: 7.938 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2176, allocations: 7.922 kB / 0.5862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.394e-05/0.2177, allocations: 3.984 kB / 0.5862 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.2178, allocations: 15.94 kB / 0.5862 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2179, allocations: 15.94 kB / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.2181, allocations: 7.984 kB / 0.5863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.2181, allocations: 4 kB / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2182, allocations: 0 / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.2182, allocations: 4 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.2182, allocations: 11.94 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.2182, allocations: 3.984 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.262e-05/0.2183, allocations: 27.91 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2183, allocations: 0 / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2184, allocations: 0 / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2184, allocations: 0 / 0.5863 GB, free: 2.523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004534/0.2188, allocations: 327.7 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.2189, allocations: 8.031 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.2189, allocations: 34.69 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.219, allocations: 8.938 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.2192, allocations: 160.4 kB / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2192, allocations: 384 / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2192, allocations: 4.375 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.2193, allocations: 41.81 kB / 0.5869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2193, allocations: 0 / 0.5869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.2193, allocations: 0 / 0.5869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2193, allocations: 0 / 0.5869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.705e-05/0.2194, allocations: 8 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.2198, allocations: 256.8 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.2199, allocations: 22.58 kB / 0.5872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.2199, allocations: 16.92 kB / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.2199, allocations: 0 / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.22, allocations: 30.56 kB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.875e-06/0.22, allocations: 0 / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.2202, allocations: 53.56 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2202, allocations: 55.34 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.2203, allocations: 101.8 kB / 0.5874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2204, allocations: 29.7 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.2204, allocations: 84.12 kB / 0.5875 GB, free: 1.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2204, allocations: 7.844 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.2205, allocations: 13.72 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2207, allocations: 322.9 kB / 0.5878 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.2207, allocations: 0 / 0.5878 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.2207, allocations: 4 kB / 0.5878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.2207, allocations: 12.86 kB / 0.5878 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2208, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001023/0.2209, allocations: 45.62 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2209, allocations: 8 kB / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2209, allocations: 0 / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2209, allocations: 96 / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.221, allocations: 8 kB / 0.5879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.221, allocations: 0 / 0.5879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.221, allocations: 0 / 0.5879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.221, allocations: 0 / 0.5879 GB, free: 0.6602 MB / 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 (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 8.57e-05/0.2211, allocations: 113.8 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.2212, allocations: 0 / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.2212, allocations: 7.109 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2212, allocations: 0 / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2212, allocations: 0 / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2212, allocations: 4 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.2215, allocations: 157.6 kB / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2215, allocations: 0 / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.2215, allocations: 4 kB / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2215, allocations: 0 / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2216, allocations: 0 / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.2216, allocations: 0 / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2216, allocations: 7.938 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.2217, allocations: 143.5 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.2218, allocations: 81.02 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2218, allocations: 0 / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.2219, allocations: 3.938 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.2219, allocations: 4 kB / 0.5884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.2219, allocations: 4 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.222, allocations: 83.27 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.222, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004265/0.2225, allocations: 4 kB / 0.5885 GB, free: 15.96 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 (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.0004963/0.223, allocations: 0.6785 MB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.2231, allocations: 12 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2231, allocations: 0 / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-05/0.2231, allocations: 4 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.2235, allocations: 4.156 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.2249, allocations: 1.156 MB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.2254, allocations: 0.6806 MB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.2254, allocations: 0 / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.2254, allocations: 7.438 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.2254, allocations: 0 / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.3417, allocations: 1.036 MB / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.69, allocations: 4.594 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)