Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.006325/0.006325, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001391/0.001391, allocations: 201.9 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9017/0.9017, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 80.91 MB / 0.6642 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002002/0.3558, allocations: 1.449 MB / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.3562, allocations: 187.8 kB / 0.6658 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.3562, allocations: 0 / 0.6658 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.3563, allocations: 5.406 kB / 0.6658 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3565, allocations: 21.44 kB / 0.6658 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.3566, allocations: 56.08 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.3567, allocations: 49.88 kB / 0.6659 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.269e-05/0.3568, allocations: 12.02 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.3568, allocations: 21.61 kB / 0.6659 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.3569, allocations: 22.75 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3569, allocations: 2.844 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.3569, allocations: 8 kB / 0.666 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.357, allocations: 10.11 kB / 0.666 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.357, allocations: 18.8 kB / 0.666 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.3571, allocations: 46.75 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3571, allocations: 4 kB / 0.666 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3571, allocations: 1.688 kB / 0.666 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3571, allocations: 0 / 0.666 GB, free: 5.844 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.0004003/0.3575, allocations: 340.5 kB / 0.6664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3576, allocations: 13.38 kB / 0.6664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.3576, allocations: 30.75 kB / 0.6664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3576, allocations: 2.906 kB / 0.6664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.067e-05/0.3577, allocations: 180.4 kB / 0.6666 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3577, allocations: 384 / 0.6666 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.3578, allocations: 2.75 kB / 0.6666 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.3579, allocations: 71.73 kB / 0.6666 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3579, allocations: 3.938 kB / 0.6666 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3579, allocations: 9.25 kB / 0.6667 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3579, allocations: 3.938 kB / 0.6667 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.631e-05/0.358, allocations: 12.28 kB / 0.6667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.3583, allocations: 266.8 kB / 0.6669 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.292e-05/0.3584, allocations: 38.89 kB / 0.667 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.3584, allocations: 19.56 kB / 0.667 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3584, allocations: 5.469 kB / 0.667 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.3586, allocations: 62.02 kB / 0.667 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3586, allocations: 0 / 0.667 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001867/0.3588, allocations: 78.97 kB / 0.6671 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3588, allocations: 104.4 kB / 0.6672 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.391e-05/0.3589, allocations: 106 kB / 0.6673 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3589, allocations: 29.7 kB / 0.6673 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.3589, allocations: 85.48 kB / 0.6674 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.359, allocations: 6.828 kB / 0.6674 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.359, allocations: 23.2 kB / 0.6675 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.359, allocations: 316.3 kB / 0.6678 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.3591, allocations: 8.5 kB / 0.6678 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/0.3591, allocations: 33.78 kB / 0.6678 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.3592, allocations: 27.02 kB / 0.6678 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3592, allocations: 5.219 kB / 0.6678 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.932e-05/0.3593, allocations: 72.36 kB / 0.6679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3593, allocations: 4.438 kB / 0.6679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3593, allocations: 0 / 0.6679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3593, allocations: 1.25 kB / 0.6679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.3594, allocations: 9.734 kB / 0.6679 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3594, allocations: 0 / 0.6679 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3595, allocations: 9.328 kB / 0.6679 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3595, allocations: 1.5 kB / 0.6679 GB, free: 3.84 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.791e-05/0.3596, allocations: 122.2 kB / 0.668 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3596, allocations: 1.375 kB / 0.668 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.3596, allocations: 4.594 kB / 0.668 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3596, allocations: 0 / 0.668 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3597, allocations: 1.062 kB / 0.668 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3597, allocations: 0 / 0.668 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.46e-05/0.3597, allocations: 177.3 kB / 0.6682 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3597, allocations: 7.875 kB / 0.6682 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.3598, allocations: 3.625 kB / 0.6682 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3598, allocations: 0 / 0.6682 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3598, allocations: 5.344 kB / 0.6682 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.3598, allocations: 0 / 0.6682 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3598, allocations: 192 / 0.6682 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.3599, allocations: 98.58 kB / 0.6683 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.36, allocations: 85.12 kB / 0.6684 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.36, allocations: 5.406 kB / 0.6684 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3601, allocations: 11.73 kB / 0.6684 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.3601, allocations: 6.844 kB / 0.6684 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.3601, allocations: 5.359 kB / 0.6684 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.756e-05/0.3602, allocations: 84.06 kB / 0.6685 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3602, allocations: 1.438 kB / 0.6685 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001994/0.3604, allocations: 8.688 kB / 0.6685 GB, free: 3.188 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.0002706/0.3607, allocations: 0.6382 MB / 0.6691 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3608, allocations: 30.73 kB / 0.6692 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3608, allocations: 0 / 0.6692 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.3608, allocations: 16.72 kB / 0.6692 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.361, allocations: 8.234 kB / 0.6692 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.3617, allocations: 1.169 MB / 0.6703 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.434e-05/0.3618, allocations: 0.679 MB / 0.671 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.518e-05/0.3618, allocations: 3.906 kB / 0.671 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.3619, allocations: 10.03 kB / 0.671 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3619, allocations: 4 kB / 0.671 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.3776, allocations: 1.757 MB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.616, allocations: 5.156 kB / 0.6727 GB, free: 15.73 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)