Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_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.004616/0.004616, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.001298/0.001298, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.825/0.825, allocations: 132.2 MB / 422.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 72.5 kB / 0.5809 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.15, allocations: 80.19 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002688/0.1527, allocations: 1.421 MB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006429/0.1534, allocations: 359.2 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.1534, allocations: 0 / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.1535, allocations: 3.938 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/0.1536, allocations: 11.91 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.813e-05/0.1536, allocations: 8 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.1537, allocations: 15.94 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1538, allocations: 7.984 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1539, allocations: 8 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.154, allocations: 11.92 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.154, allocations: 0 / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.154, allocations: 4 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1541, allocations: 0 / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1541, allocations: 7.938 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.562e-05/0.1542, allocations: 24.19 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1542, allocations: 4 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1542, allocations: 0 / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1542, allocations: 0 / 0.661 GB, free: 12.04 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.0003986/0.1546, allocations: 327.4 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1546, allocations: 11.97 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.1547, allocations: 34.75 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.945e-05/0.1547, allocations: 4.938 kB / 0.6614 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1549, allocations: 164.4 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1549, allocations: 384 / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1549, allocations: 8.375 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.155, allocations: 37.83 kB / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.155, allocations: 0 / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.155, allocations: 0 / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.155, allocations: 0 / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.06e-05/0.155, allocations: 4 kB / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.1554, allocations: 248.8 kB / 0.6618 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.1554, allocations: 26.58 kB / 0.6619 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.1555, allocations: 20.89 kB / 0.6619 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.1555, allocations: 0 / 0.6619 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1555, allocations: 30.56 kB / 0.6619 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1555, allocations: 0 / 0.6619 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.1557, allocations: 45.59 kB / 0.662 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.1557, allocations: 51.41 kB / 0.662 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.1558, allocations: 114 kB / 0.6621 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1558, allocations: 25.7 kB / 0.6621 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.1559, allocations: 80.14 kB / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1559, allocations: 7.953 kB / 0.6622 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1559, allocations: 13.72 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1561, allocations: 318.8 kB / 0.6625 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.1561, allocations: 4 kB / 0.6625 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.1561, allocations: 4 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.1561, allocations: 12.92 kB / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1561, allocations: 0 / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.882e-05/0.1562, allocations: 41.64 kB / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1562, allocations: 8 kB / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1562, allocations: 0 / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1563, allocations: 0 / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.1563, allocations: 7.984 kB / 0.6626 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1563, allocations: 0 / 0.6626 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.1563, allocations: 3.938 kB / 0.6626 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.1564, allocations: 7.969 kB / 0.6626 GB, free: 10.18 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 7.881e-05/0.1564, allocations: 122.4 kB / 0.6627 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1565, allocations: 0 / 0.6627 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.1565, allocations: 3.125 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1565, allocations: 0 / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1565, allocations: 0 / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1565, allocations: 0 / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1567, allocations: 157.6 kB / 0.6629 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1567, allocations: 0 / 0.6629 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.1567, allocations: 8 kB / 0.6629 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1567, allocations: 4 kB / 0.6629 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1567, allocations: 0 / 0.6629 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1567, allocations: 7.922 kB / 0.6629 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1567, allocations: 4 kB / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1569, allocations: 131.5 kB / 0.6631 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1569, allocations: 81.06 kB / 0.6631 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.1569, allocations: 0 / 0.6631 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.157, allocations: 8.016 kB / 0.6631 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.157, allocations: 8 kB / 0.6631 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.157, allocations: 3.938 kB / 0.6631 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.157, allocations: 79.28 kB / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1571, allocations: 0 / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002171/0.1573, allocations: 0 / 0.6632 GB, free: 9.473 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.0004128/0.1577, allocations: 0.6772 MB / 0.6639 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.668e-05/0.1578, allocations: 8 kB / 0.6639 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1578, allocations: 0 / 0.6639 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.1578, allocations: 8 kB / 0.6639 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.158, allocations: 0 / 0.6639 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.159, allocations: 1.16 MB / 0.665 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1594, allocations: 0.6808 MB / 0.6657 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.1594, allocations: 0 / 0.6657 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1594, allocations: 7.438 kB / 0.6657 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1594, allocations: 0 / 0.6657 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.1805, allocations: 1.056 MB / 0.6667 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/7.853, allocations: 12.97 kB / 0.6667 GB, free: 5.879 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)