Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_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.001079/0.001079, allocations: 108.6 kB / 15.73 MB, free: 76 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.001073/0.001073, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9573/0.9573, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3494, allocations: 80.93 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001997/0.3515, allocations: 1.463 MB / 0.6656 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005123/0.352, allocations: 433.8 kB / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.352, allocations: 0 / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.3521, allocations: 0 / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.3521, allocations: 17.61 kB / 0.666 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.3523, allocations: 15.19 kB / 0.666 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.3523, allocations: 46.42 kB / 0.6661 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.3524, allocations: 19.27 kB / 0.6661 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.3525, allocations: 20.55 kB / 0.6661 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.3526, allocations: 22.75 kB / 0.6661 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3526, allocations: 3.969 kB / 0.6661 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.3526, allocations: 6.781 kB / 0.6662 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.3526, allocations: 9.422 kB / 0.6662 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.3527, allocations: 13.75 kB / 0.6662 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.531e-05/0.3527, allocations: 42 kB / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3528, allocations: 0 / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3528, allocations: 4 kB / 0.6662 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.3528, allocations: 1.406 kB / 0.6662 GB, free: 5.668 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.0003466/0.3531, allocations: 351.2 kB / 0.6666 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3532, allocations: 8.812 kB / 0.6666 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.156e-05/0.3532, allocations: 32.38 kB / 0.6666 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.3532, allocations: 7.281 kB / 0.6666 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.3533, allocations: 182.8 kB / 0.6668 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.3533, allocations: 5.75 kB / 0.6668 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3533, allocations: 7.031 kB / 0.6668 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.048e-05/0.3534, allocations: 54.31 kB / 0.6668 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3534, allocations: 0 / 0.6668 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3535, allocations: 7.984 kB / 0.6669 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3535, allocations: 5.078 kB / 0.6669 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.3535, allocations: 20.77 kB / 0.6669 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.3538, allocations: 288.1 kB / 0.6671 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.354, allocations: 51.28 kB / 0.6672 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.354, allocations: 29.42 kB / 0.6672 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.354, allocations: 0 / 0.6672 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.354, allocations: 39.84 kB / 0.6673 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.354, allocations: 0 / 0.6673 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001618/0.3542, allocations: 72.67 kB / 0.6673 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.3542, allocations: 60.36 kB / 0.6674 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.3543, allocations: 94.8 kB / 0.6675 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/0.3543, allocations: 29.7 kB / 0.6675 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.3543, allocations: 86.67 kB / 0.6676 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3543, allocations: 25.19 kB / 0.6676 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.3544, allocations: 13.75 kB / 0.6676 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.629e-05/0.3544, allocations: 324.2 kB / 0.6679 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.3544, allocations: 9.234 kB / 0.6679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.3545, allocations: 13.56 kB / 0.668 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.3545, allocations: 37.94 kB / 0.668 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3545, allocations: 0 / 0.668 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.754e-05/0.3546, allocations: 60.06 kB / 0.6681 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3546, allocations: 5.125 kB / 0.6681 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3546, allocations: 0 / 0.6681 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3547, allocations: 1.5 kB / 0.6681 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.3547, allocations: 5.75 kB / 0.6681 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3547, allocations: 1.281 kB / 0.6681 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.3548, allocations: 4 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3548, allocations: 5.344 kB / 0.6681 GB, free: 3.758 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.247e-05/0.3548, allocations: 120 kB / 0.6682 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3549, allocations: 10.52 kB / 0.6682 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.355, allocations: 81.89 kB / 0.6683 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.355, allocations: 1.125 kB / 0.6683 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.355, allocations: 1.5 kB / 0.6683 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.355, allocations: 0 / 0.6683 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.3551, allocations: 177.9 kB / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3551, allocations: 4.438 kB / 0.6685 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.3552, allocations: 14.14 kB / 0.6685 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3552, allocations: 1.281 kB / 0.6685 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3552, allocations: 8 kB / 0.6685 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3552, allocations: 5.062 kB / 0.6685 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3552, allocations: 0 / 0.6685 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.3554, allocations: 167.6 kB / 0.6686 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3554, allocations: 91.91 kB / 0.6687 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3554, allocations: 7.984 kB / 0.6687 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.3555, allocations: 1.219 kB / 0.6687 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.3555, allocations: 2.219 kB / 0.6687 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3555, allocations: 2.281 kB / 0.6687 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.089e-05/0.3555, allocations: 86.02 kB / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3555, allocations: 0 / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.3558, allocations: 11.62 kB / 0.6688 GB, free: 2.977 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.0002482/0.356, allocations: 0.7166 MB / 0.6695 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.215e-05/0.3561, allocations: 33.23 kB / 0.6696 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3561, allocations: 0 / 0.6696 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.3562, allocations: 27.05 kB / 0.6696 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.3564, allocations: 6.25 kB / 0.6696 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.3571, allocations: 1.232 MB / 0.6708 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.521e-05/0.3572, allocations: 0.6936 MB / 0.6715 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.3572, allocations: 3.906 kB / 0.6715 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.3573, allocations: 17.77 kB / 0.6715 GB, free: 312 kB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.3573, allocations: 0 / 0.6715 GB, free: 312 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.3729, allocations: 1.392 MB / 0.6729 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.556, allocations: 9.281 kB / 0.6729 GB, free: 15.54 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)