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.006964/0.006964, allocations: 98.64 kB / 15.73 MB, free: 6.449 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.001752/0.001752, allocations: 197.6 kB / 16.68 MB, free: 6.348 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9236/0.9236, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.349, allocations: 80.91 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00205/0.3511, allocations: 1.445 MB / 0.6656 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003272/0.3514, allocations: 188 kB / 0.6658 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.3515, allocations: 0 / 0.6658 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.3515, allocations: 5.062 kB / 0.6658 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3517, allocations: 13.11 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.3519, allocations: 64.91 kB / 0.6659 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.352, allocations: 45.11 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.3521, allocations: 12.78 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.3521, allocations: 30.11 kB / 0.6659 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.3522, allocations: 17.67 kB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3522, allocations: 3.781 kB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3522, allocations: 3.969 kB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.3522, allocations: 10.67 kB / 0.666 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.3523, allocations: 16.98 kB / 0.666 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.335e-05/0.3524, allocations: 47.78 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3524, allocations: 0 / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3524, allocations: 0 / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.3524, allocations: 1.344 kB / 0.666 GB, free: 5.809 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.0003922/0.3528, allocations: 347.8 kB / 0.6664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3528, allocations: 10.22 kB / 0.6664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.3529, allocations: 34.73 kB / 0.6664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.3529, allocations: 3.406 kB / 0.6664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.353, allocations: 178.9 kB / 0.6666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.353, allocations: 1.75 kB / 0.6666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.353, allocations: 6 kB / 0.6666 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.3532, allocations: 72.02 kB / 0.6667 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3532, allocations: 3.938 kB / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3532, allocations: 1.375 kB / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3532, allocations: 0 / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.3533, allocations: 15.33 kB / 0.6667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.3536, allocations: 267.9 kB / 0.6669 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.347e-05/0.3537, allocations: 51.53 kB / 0.667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.3537, allocations: 15.58 kB / 0.667 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3537, allocations: 0 / 0.667 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.3539, allocations: 62.17 kB / 0.6671 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3539, allocations: 1.125 kB / 0.6671 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001903/0.3541, allocations: 78.28 kB / 0.6671 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3541, allocations: 104.1 kB / 0.6672 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.3542, allocations: 109.9 kB / 0.6673 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3542, allocations: 25.7 kB / 0.6674 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.3542, allocations: 86.33 kB / 0.6674 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.3542, allocations: 5.578 kB / 0.6674 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3543, allocations: 23.64 kB / 0.6675 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.3543, allocations: 315.9 kB / 0.6678 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.3544, allocations: 9.266 kB / 0.6678 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.3544, allocations: 37.05 kB / 0.6678 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.3545, allocations: 35.41 kB / 0.6679 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3545, allocations: 1.406 kB / 0.6679 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.002e-05/0.3546, allocations: 59.67 kB / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3546, allocations: 5.094 kB / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3546, allocations: 0 / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3546, allocations: 1.031 kB / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.3547, allocations: 6 kB / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3547, allocations: 448 / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.3548, allocations: 17.27 kB / 0.6679 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3548, allocations: 5.25 kB / 0.6679 GB, free: 3.793 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.805e-05/0.3549, allocations: 120.1 kB / 0.6681 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.3549, allocations: 2.406 kB / 0.6681 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.3549, allocations: 13.3 kB / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3549, allocations: 0 / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3549, allocations: 0 / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3549, allocations: 0 / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.479e-05/0.355, allocations: 173 kB / 0.6682 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.355, allocations: 4 kB / 0.6682 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.3551, allocations: 3.844 kB / 0.6682 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3551, allocations: 3.938 kB / 0.6682 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3551, allocations: 5.109 kB / 0.6683 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3551, allocations: 0 / 0.6683 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3551, allocations: 1.188 kB / 0.6683 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.3552, allocations: 91.02 kB / 0.6683 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.3553, allocations: 87.62 kB / 0.6684 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3553, allocations: 5.438 kB / 0.6684 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3554, allocations: 13.08 kB / 0.6684 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3554, allocations: 14.48 kB / 0.6685 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3554, allocations: 1.656 kB / 0.6685 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.3555, allocations: 83.31 kB / 0.6685 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3555, allocations: 1.312 kB / 0.6685 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001961/0.3557, allocations: 8.656 kB / 0.6685 GB, free: 3.141 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.0002711/0.356, allocations: 0.63 MB / 0.6692 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3561, allocations: 34.23 kB / 0.6692 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3561, allocations: 0 / 0.6692 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.3561, allocations: 17.95 kB / 0.6692 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.3563, allocations: 8.594 kB / 0.6692 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.357, allocations: 1.162 MB / 0.6704 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.3571, allocations: 0.6797 MB / 0.671 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.3572, allocations: 8.375 kB / 0.671 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3572, allocations: 20.52 kB / 0.671 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.3572, allocations: 0 / 0.671 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.374, allocations: 1.764 MB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.567, allocations: 12.83 kB / 0.6728 GB, free: 15.69 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)