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.007772/0.007772, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.002109/0.002109, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9838/0.9838, allocations: 135.6 MB / 426.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 75.89 kB / 0.5858 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3478, allocations: 81.03 MB / 0.6649 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001945/0.3498, allocations: 1.395 MB / 0.6663 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004397/0.3502, allocations: 373.1 kB / 0.6666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.3503, allocations: 4 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.3503, allocations: 7.922 kB / 0.6666 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.414e-05/0.3504, allocations: 1.406 kB / 0.6666 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.071e-05/0.3504, allocations: 0 / 0.6666 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.3505, allocations: 19.98 kB / 0.6666 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.3505, allocations: 7.781 kB / 0.6666 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3507, allocations: 11.66 kB / 0.6667 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.3507, allocations: 14.66 kB / 0.6667 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3507, allocations: 1.188 kB / 0.6667 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.3507, allocations: 5.062 kB / 0.6667 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.3508, allocations: 1.344 kB / 0.6667 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.3508, allocations: 10.88 kB / 0.6667 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.677e-05/0.3508, allocations: 19.66 kB / 0.6667 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3508, allocations: 0 / 0.6667 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3509, allocations: 1.469 kB / 0.6667 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3509, allocations: 0 / 0.6667 GB, free: 5.441 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002545/0.3511, allocations: 320.3 kB / 0.667 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3512, allocations: 9.688 kB / 0.667 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.08e-05/0.3512, allocations: 34.75 kB / 0.6671 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.724e-05/0.3512, allocations: 6.203 kB / 0.6671 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.3513, allocations: 174.5 kB / 0.6672 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3513, allocations: 4.375 kB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-06/0.3513, allocations: 1.719 kB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.706e-05/0.3514, allocations: 38.06 kB / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3514, allocations: 0 / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.3514, allocations: 1.469 kB / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3514, allocations: 0 / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.3514, allocations: 12.23 kB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.3516, allocations: 243.4 kB / 0.6675 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/0.3517, allocations: 28.45 kB / 0.6675 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.3517, allocations: 15.2 kB / 0.6676 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.3517, allocations: 0 / 0.6676 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.3518, allocations: 31.88 kB / 0.6676 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3518, allocations: 4 kB / 0.6676 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001132/0.3519, allocations: 39.39 kB / 0.6676 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.3519, allocations: 55.34 kB / 0.6677 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.352, allocations: 102.8 kB / 0.6678 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.352, allocations: 25.7 kB / 0.6678 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.352, allocations: 85.22 kB / 0.6679 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.352, allocations: 5.203 kB / 0.6679 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.352, allocations: 16.41 kB / 0.6679 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.292e-05/0.3521, allocations: 322.9 kB / 0.6682 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.3521, allocations: 2.219 kB / 0.6682 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.3521, allocations: 2.438 kB / 0.6682 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.3521, allocations: 14.14 kB / 0.6682 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3522, allocations: 3.938 kB / 0.6682 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.725e-05/0.3522, allocations: 41.55 kB / 0.6683 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.3522, allocations: 5.5 kB / 0.6683 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3522, allocations: 8.078 kB / 0.6683 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3522, allocations: 9.641 kB / 0.6683 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.3523, allocations: 1.562 kB / 0.6683 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3523, allocations: 1.125 kB / 0.6683 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.3523, allocations: 0 / 0.6683 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.3523, allocations: 5.375 kB / 0.6683 GB, free: 3.676 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 (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.697e-05/0.3524, allocations: 111 kB / 0.6684 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.3524, allocations: 1.375 kB / 0.6684 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/0.3524, allocations: 8.344 kB / 0.6684 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3524, allocations: 4 kB / 0.6684 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3524, allocations: 0 / 0.6684 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3524, allocations: 1.531 kB / 0.6684 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.799e-05/0.3525, allocations: 156.3 kB / 0.6686 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3525, allocations: 1.406 kB / 0.6686 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.3526, allocations: 6.516 kB / 0.6686 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3526, allocations: 0 / 0.6686 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.3526, allocations: 4 kB / 0.6686 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3526, allocations: 1.344 kB / 0.6686 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3526, allocations: 0 / 0.6686 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.668e-05/0.3526, allocations: 140.6 kB / 0.6687 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.3527, allocations: 86.64 kB / 0.6688 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.3527, allocations: 0 / 0.6688 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.3527, allocations: 1.031 kB / 0.6688 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-06/0.3527, allocations: 1.438 kB / 0.6688 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.3528, allocations: 0 / 0.6688 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.054e-05/0.3528, allocations: 86.64 kB / 0.6689 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3528, allocations: 0 / 0.6689 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002144/0.353, allocations: 7.469 kB / 0.6689 GB, free: 3.004 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.0001959/0.3532, allocations: 0.673 MB / 0.6696 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.033e-05/0.3533, allocations: 10.56 kB / 0.6696 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3533, allocations: 0 / 0.6696 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.3533, allocations: 11.98 kB / 0.6696 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.3535, allocations: 3.406 kB / 0.6696 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.3541, allocations: 1.148 MB / 0.6707 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.3542, allocations: 0.6769 MB / 0.6714 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.3542, allocations: 0 / 0.6714 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.3542, allocations: 12.56 kB / 0.6714 GB, free: 440 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3542, allocations: 0 / 0.6714 GB, free: 440 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.3738, allocations: 1.057 MB / 0.6724 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.911, allocations: 18.27 kB / 0.6724 GB, free: 15.85 MB / 0.5137 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)