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.001955/0.001955, allocations: 112.5 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.002139/0.002139, allocations: 194.8 kB / 16.67 MB, free: 6.539 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9876/0.9876, allocations: 135.6 MB / 426.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.88 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3329, allocations: 81.02 MB / 0.6649 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002002/0.335, allocations: 1.467 MB / 0.6663 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005102/0.3355, allocations: 433.3 kB / 0.6667 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.3355, allocations: 0 / 0.6667 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.3356, allocations: 5.344 kB / 0.6667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.3357, allocations: 7.922 kB / 0.6667 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.3358, allocations: 19.78 kB / 0.6668 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.4e-05/0.3358, allocations: 54.8 kB / 0.6668 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.3359, allocations: 18.55 kB / 0.6668 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.336, allocations: 21.17 kB / 0.6668 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.3361, allocations: 23.19 kB / 0.6669 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3361, allocations: 2.656 kB / 0.6669 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.3361, allocations: 2.688 kB / 0.6669 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.3361, allocations: 5.438 kB / 0.6669 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.3362, allocations: 18.83 kB / 0.6669 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.166e-05/0.3362, allocations: 40.97 kB / 0.6669 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3363, allocations: 5.125 kB / 0.6669 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3363, allocations: 0 / 0.6669 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.3363, allocations: 0 / 0.6669 GB, free: 5.219 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.0003264/0.3366, allocations: 350.6 kB / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3366, allocations: 12.67 kB / 0.6673 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.265e-05/0.3367, allocations: 36.09 kB / 0.6673 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.3367, allocations: 7.719 kB / 0.6673 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.223e-05/0.3368, allocations: 169.8 kB / 0.6675 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3368, allocations: 1.719 kB / 0.6675 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3368, allocations: 7.281 kB / 0.6675 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.3369, allocations: 61.98 kB / 0.6676 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3369, allocations: 1.281 kB / 0.6676 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3369, allocations: 0 / 0.6676 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3369, allocations: 1.25 kB / 0.6676 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.337, allocations: 24.89 kB / 0.6676 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.3372, allocations: 279.5 kB / 0.6678 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3374, allocations: 63.66 kB / 0.6679 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.3375, allocations: 20.02 kB / 0.6679 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3375, allocations: 5.469 kB / 0.6679 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.011e-05/0.3375, allocations: 36.27 kB / 0.668 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3375, allocations: 4 kB / 0.668 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001542/0.3377, allocations: 71.14 kB / 0.668 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.3377, allocations: 52.78 kB / 0.6681 GB, free: 4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.844e-05/0.3377, allocations: 99.23 kB / 0.6682 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.3377, allocations: 29.69 kB / 0.6682 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/0.3378, allocations: 82.11 kB / 0.6683 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.3378, allocations: 28.91 kB / 0.6683 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.3378, allocations: 21.98 kB / 0.6683 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.364e-05/0.3379, allocations: 324.2 kB / 0.6686 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3379, allocations: 9.094 kB / 0.6687 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.3379, allocations: 13.27 kB / 0.6687 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.338, allocations: 29.45 kB / 0.6687 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.338, allocations: 1.125 kB / 0.6687 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.509e-05/0.338, allocations: 63.5 kB / 0.6688 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.3381, allocations: 5.781 kB / 0.6688 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3381, allocations: 4 kB / 0.6688 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3381, allocations: 1.406 kB / 0.6688 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.3381, allocations: 14.89 kB / 0.6688 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3382, allocations: 0 / 0.6688 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.3382, allocations: 1.562 kB / 0.6688 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.3382, allocations: 0 / 0.6688 GB, free: 3.312 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 3.925e-05/0.3382, allocations: 116.3 kB / 0.6689 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.3383, allocations: 1.062 kB / 0.6689 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.3384, allocations: 87.94 kB / 0.669 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3384, allocations: 1.312 kB / 0.669 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3384, allocations: 4 kB / 0.669 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3384, allocations: 7.969 kB / 0.669 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3385, allocations: 178.4 kB / 0.6692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3386, allocations: 0 / 0.6692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.3386, allocations: 10.31 kB / 0.6692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3386, allocations: 0.875 kB / 0.6692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3386, allocations: 1.531 kB / 0.6692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3386, allocations: 0 / 0.6692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3386, allocations: 0 / 0.6692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3388, allocations: 184.1 kB / 0.6694 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.3388, allocations: 86.41 kB / 0.6694 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.3388, allocations: 1.25 kB / 0.6694 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.3389, allocations: 0 / 0.6694 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.3389, allocations: 11.67 kB / 0.6694 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3389, allocations: 1.5 kB / 0.6694 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.939e-05/0.3389, allocations: 77.81 kB / 0.6695 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3389, allocations: 0 / 0.6695 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.3391, allocations: 15.84 kB / 0.6695 GB, free: 2.539 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.0002351/0.3394, allocations: 0.7038 MB / 0.6702 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.3395, allocations: 40.81 kB / 0.6703 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3395, allocations: 0 / 0.6703 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.3395, allocations: 26.75 kB / 0.6703 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.3397, allocations: 6.906 kB / 0.6703 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.3404, allocations: 1.247 MB / 0.6715 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.3406, allocations: 0.6832 MB / 0.6722 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.3406, allocations: 6.859 kB / 0.6722 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.3407, allocations: 13.72 kB / 0.6722 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3407, allocations: 0 / 0.6722 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.3604, allocations: 1.387 MB / 0.6736 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.034, allocations: 7.656 kB / 0.6736 GB, free: 15.11 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)