Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_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.006743/0.006743, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001727/0.001727, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8261/0.8261, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.91 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3392, allocations: 80.21 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002201/0.3415, allocations: 1.475 MB / 0.6606 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005418/0.342, allocations: 429.9 kB / 0.6611 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.3421, allocations: 0 / 0.6611 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.3421, allocations: 5.766 kB / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.814e-05/0.3422, allocations: 15.31 kB / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.3423, allocations: 16.67 kB / 0.6611 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.022e-05/0.3424, allocations: 47.45 kB / 0.6611 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.3425, allocations: 17.84 kB / 0.6611 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.3426, allocations: 19.86 kB / 0.6612 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.3427, allocations: 22.69 kB / 0.6612 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3427, allocations: 7.812 kB / 0.6612 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3427, allocations: 2.344 kB / 0.6612 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3427, allocations: 11.5 kB / 0.6612 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.3428, allocations: 16.86 kB / 0.6612 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.54e-05/0.3429, allocations: 44.34 kB / 0.6613 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3429, allocations: 0.75 kB / 0.6613 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3429, allocations: 0 / 0.6613 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3429, allocations: 1.375 kB / 0.6613 GB, free: 8.457 MB / 0.4981 GB 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.00037/0.3433, allocations: 353.1 kB / 0.6616 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3433, allocations: 8.656 kB / 0.6616 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.3433, allocations: 33.52 kB / 0.6616 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.3434, allocations: 3.344 kB / 0.6617 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.3435, allocations: 172.9 kB / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3435, allocations: 9.875 kB / 0.6618 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3435, allocations: 3.031 kB / 0.6618 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.3436, allocations: 56.34 kB / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3436, allocations: 0 / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3436, allocations: 5.312 kB / 0.6619 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3436, allocations: 1.125 kB / 0.6619 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.723e-05/0.3437, allocations: 24.98 kB / 0.6619 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.344, allocations: 283.9 kB / 0.6622 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3442, allocations: 61.27 kB / 0.6622 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.3442, allocations: 28.19 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3443, allocations: 5.094 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.3443, allocations: 36.77 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3443, allocations: 0 / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001677/0.3444, allocations: 69.94 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.458e-05/0.3445, allocations: 51.41 kB / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.288e-05/0.3445, allocations: 101.1 kB / 0.6625 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.3445, allocations: 25.7 kB / 0.6625 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.3446, allocations: 90.89 kB / 0.6626 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.3446, allocations: 19.78 kB / 0.6627 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.3446, allocations: 18.91 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.335e-05/0.3446, allocations: 321.8 kB / 0.663 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.3447, allocations: 10.44 kB / 0.663 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.3447, allocations: 23.86 kB / 0.663 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.3447, allocations: 26.22 kB / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3448, allocations: 1.281 kB / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.869e-05/0.3448, allocations: 59.83 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3449, allocations: 12.66 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.3449, allocations: 1.25 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3449, allocations: 0.6562 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.3449, allocations: 8.516 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.345, allocations: 0.7969 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.345, allocations: 1.219 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.345, allocations: 1.641 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB 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 4.127e-05/0.345, allocations: 121.9 kB / 0.6632 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.3451, allocations: 5.141 kB / 0.6632 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.3452, allocations: 84.77 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3452, allocations: 0 / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3452, allocations: 1.531 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3452, allocations: 0.5625 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.3454, allocations: 182.5 kB / 0.6635 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3454, allocations: 0 / 0.6635 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.3454, allocations: 12.03 kB / 0.6635 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3455, allocations: 5.031 kB / 0.6635 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3455, allocations: 1.188 kB / 0.6635 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3455, allocations: 4.797 kB / 0.6635 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3455, allocations: 0 / 0.6635 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3456, allocations: 173.2 kB / 0.6637 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.3456, allocations: 83.11 kB / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.3456, allocations: 9.969 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.3457, allocations: 1.5 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3457, allocations: 4.828 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3457, allocations: 1.703 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.052e-05/0.3458, allocations: 87.55 kB / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3458, allocations: 0 / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002214/0.346, allocations: 11.66 kB / 0.6639 GB, free: 5.879 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.0002429/0.3462, allocations: 0.7086 MB / 0.6646 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.3464, allocations: 37.64 kB / 0.6646 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3464, allocations: 4 kB / 0.6646 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.3464, allocations: 33.23 kB / 0.6646 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.3466, allocations: 6.828 kB / 0.6646 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.3474, allocations: 1.235 MB / 0.6658 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.099e-05/0.3475, allocations: 0.6864 MB / 0.6665 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.3475, allocations: 8.422 kB / 0.6665 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.3475, allocations: 20.31 kB / 0.6665 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.3475, allocations: 0 / 0.6665 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.3675, allocations: 1.387 MB / 0.6679 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.927, allocations: 4.609 kB / 0.6679 GB, free: 2.621 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)