Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.004984/0.004984, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001191/0.001191, allocations: 201.5 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9119/0.9119, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.5852 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3745, allocations: 80.92 MB / 0.6642 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002129/0.3767, allocations: 1.439 MB / 0.6656 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.377, allocations: 188.4 kB / 0.6658 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.3771, allocations: 0 / 0.6658 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.3771, allocations: 0 / 0.6658 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.3773, allocations: 26.11 kB / 0.6658 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3775, allocations: 51.39 kB / 0.6658 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.645e-05/0.3776, allocations: 54.2 kB / 0.6659 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.3777, allocations: 11.8 kB / 0.6659 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.3777, allocations: 19.3 kB / 0.6659 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.3778, allocations: 24.94 kB / 0.666 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3778, allocations: 4.469 kB / 0.666 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.3779, allocations: 4.219 kB / 0.666 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.3779, allocations: 9.141 kB / 0.666 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.3779, allocations: 26.39 kB / 0.666 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.812e-05/0.378, allocations: 47.59 kB / 0.666 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.378, allocations: 0 / 0.666 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.378, allocations: 0 / 0.666 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.378, allocations: 1.062 kB / 0.666 GB, free: 5.855 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004393/0.3785, allocations: 339.4 kB / 0.6664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3785, allocations: 9.906 kB / 0.6664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.3786, allocations: 32.12 kB / 0.6664 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3786, allocations: 7.406 kB / 0.6664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/0.3787, allocations: 182.9 kB / 0.6666 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3787, allocations: 1.531 kB / 0.6666 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3787, allocations: 1.781 kB / 0.6666 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3789, allocations: 75.47 kB / 0.6667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3789, allocations: 5.312 kB / 0.6667 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3789, allocations: 0 / 0.6667 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3789, allocations: 1.312 kB / 0.6667 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.379, allocations: 14.38 kB / 0.6667 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3793, allocations: 268.6 kB / 0.6669 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.3794, allocations: 43.27 kB / 0.667 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.3795, allocations: 18.19 kB / 0.667 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.3795, allocations: 1.438 kB / 0.667 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.3796, allocations: 61.92 kB / 0.6671 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3796, allocations: 1.219 kB / 0.6671 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.3798, allocations: 78.16 kB / 0.6671 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3798, allocations: 107.9 kB / 0.6672 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/0.3799, allocations: 102.1 kB / 0.6673 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3799, allocations: 25.7 kB / 0.6674 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.3799, allocations: 85.47 kB / 0.6674 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.38, allocations: 10.83 kB / 0.6675 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.38, allocations: 27.33 kB / 0.6675 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.472e-05/0.3801, allocations: 312.1 kB / 0.6678 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.3801, allocations: 9.469 kB / 0.6678 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.3801, allocations: 31.53 kB / 0.6678 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.3802, allocations: 29.3 kB / 0.6678 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3802, allocations: 0 / 0.6678 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.864e-05/0.3803, allocations: 68.64 kB / 0.6679 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3803, allocations: 4.656 kB / 0.6679 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3803, allocations: 4.469 kB / 0.6679 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3803, allocations: 1.719 kB / 0.6679 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.3804, allocations: 7.922 kB / 0.6679 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.3804, allocations: 1.375 kB / 0.6679 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3805, allocations: 13.14 kB / 0.6679 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3805, allocations: 1.469 kB / 0.6679 GB, free: 3.852 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 5.441e-05/0.3806, allocations: 119.7 kB / 0.6681 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.3806, allocations: 3.094 kB / 0.6681 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.3806, allocations: 7.5 kB / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3806, allocations: 1.719 kB / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3806, allocations: 0 / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3807, allocations: 3.984 kB / 0.6681 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.458e-05/0.3807, allocations: 181.1 kB / 0.6682 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3807, allocations: 0 / 0.6682 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.3808, allocations: 11.62 kB / 0.6683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3808, allocations: 0 / 0.6683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3808, allocations: 1.281 kB / 0.6683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3808, allocations: 3.938 kB / 0.6683 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3808, allocations: 0 / 0.6683 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.3809, allocations: 98.84 kB / 0.6684 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.381, allocations: 88.97 kB / 0.6684 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.381, allocations: 1.219 kB / 0.6684 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3811, allocations: 8.828 kB / 0.6684 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.3811, allocations: 3.25 kB / 0.6685 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3811, allocations: 0 / 0.6685 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.3812, allocations: 92.45 kB / 0.6685 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3812, allocations: 0 / 0.6685 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001933/0.3814, allocations: 9.594 kB / 0.6685 GB, free: 3.195 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002511/0.3816, allocations: 0.6351 MB / 0.6692 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.3818, allocations: 29.39 kB / 0.6692 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3818, allocations: 4 kB / 0.6692 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.3818, allocations: 18.03 kB / 0.6692 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.382, allocations: 2.25 kB / 0.6692 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.3828, allocations: 1.167 MB / 0.6704 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3829, allocations: 0.6797 MB / 0.671 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.3829, allocations: 4 kB / 0.671 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.383, allocations: 10.09 kB / 0.671 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.383, allocations: 0 / 0.671 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.4002, allocations: 1.774 MB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.716, allocations: 7.656 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)