Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007037/0.007037, allocations: 101.5 kB / 15.73 MB, free: 5.992 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.001447/0.001447, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7942/0.7942, allocations: 132.2 MB / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.5814 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.5005, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003104/0.5036, allocations: 1.442 MB / 0.6611 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005448/0.5042, allocations: 186.8 kB / 0.6613 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.5043, allocations: 0 / 0.6613 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.5043, allocations: 5.797 kB / 0.6613 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.5046, allocations: 23.97 kB / 0.6613 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.5048, allocations: 56.44 kB / 0.6614 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.505, allocations: 52.81 kB / 0.6614 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.5051, allocations: 8.859 kB / 0.6614 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.5052, allocations: 22.7 kB / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.5053, allocations: 21.84 kB / 0.6615 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.5053, allocations: 4.156 kB / 0.6615 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.5053, allocations: 4.344 kB / 0.6615 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.5054, allocations: 12.14 kB / 0.6615 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.5054, allocations: 25.33 kB / 0.6615 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.5055, allocations: 45.91 kB / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5056, allocations: 0 / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5056, allocations: 0 / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.5056, allocations: 0 / 0.6615 GB, free: 9.027 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.0005614/0.5061, allocations: 341.9 kB / 0.6619 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5062, allocations: 8.906 kB / 0.6619 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.5063, allocations: 4.016 kB / 0.6619 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.5064, allocations: 174.2 kB / 0.662 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5064, allocations: 10.66 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.5064, allocations: 1.594 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.5066, allocations: 63.88 kB / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5066, allocations: 0.9844 kB / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.5066, allocations: 3.938 kB / 0.6621 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5066, allocations: 1.5 kB / 0.6621 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.441e-05/0.5067, allocations: 16.8 kB / 0.6621 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.5071, allocations: 270.2 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.5072, allocations: 44.42 kB / 0.6624 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.5073, allocations: 17.53 kB / 0.6625 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5073, allocations: 0.7031 kB / 0.6625 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.5075, allocations: 67.41 kB / 0.6625 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.5075, allocations: 3.938 kB / 0.6625 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002566/0.5078, allocations: 69.8 kB / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.5078, allocations: 104.9 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.5079, allocations: 104.8 kB / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5079, allocations: 29.7 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.508, allocations: 82.23 kB / 0.6629 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.508, allocations: 12.09 kB / 0.6629 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.5081, allocations: 25.66 kB / 0.6629 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.5081, allocations: 321.4 kB / 0.6632 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.5082, allocations: 9.906 kB / 0.6633 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.5082, allocations: 32.33 kB / 0.6633 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.5083, allocations: 29.16 kB / 0.6633 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5083, allocations: 3.938 kB / 0.6633 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001021/0.5084, allocations: 59.98 kB / 0.6634 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5084, allocations: 5.094 kB / 0.6634 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5084, allocations: 4.781 kB / 0.6634 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5085, allocations: 5.094 kB / 0.6634 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.5085, allocations: 6.594 kB / 0.6634 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5086, allocations: 2.156 kB / 0.6634 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5087, allocations: 11.14 kB / 0.6634 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5087, allocations: 2.203 kB / 0.6634 GB, free: 7.145 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 7.479e-05/0.5088, allocations: 122.9 kB / 0.6635 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.5088, allocations: 6.469 kB / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.5088, allocations: 8.859 kB / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5088, allocations: 1.312 kB / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5088, allocations: 0 / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.5089, allocations: 2.453 kB / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.509, allocations: 173.7 kB / 0.6637 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.509, allocations: 0 / 0.6637 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.509, allocations: 4.547 kB / 0.6637 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.509, allocations: 0 / 0.6637 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.509, allocations: 5.859 kB / 0.6637 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.509, allocations: 0 / 0.6637 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.509, allocations: 0.75 kB / 0.6637 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.5092, allocations: 92.84 kB / 0.6638 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.5092, allocations: 83.95 kB / 0.6639 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.5093, allocations: 6.234 kB / 0.6639 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5094, allocations: 12.55 kB / 0.6639 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.5094, allocations: 3.188 kB / 0.6639 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5094, allocations: 3.453 kB / 0.6639 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.5095, allocations: 85.25 kB / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5095, allocations: 4 kB / 0.664 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002041/0.5097, allocations: 9.844 kB / 0.664 GB, free: 6.527 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.0001291/0.5098, allocations: 98.62 kB / 0.6641 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.51, allocations: 28.83 kB / 0.6641 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.51, allocations: 1.062 kB / 0.6641 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.51, allocations: 22.89 kB / 0.6641 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.5102, allocations: 10.61 kB / 0.6642 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.5105, allocations: 127.5 kB / 0.6643 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.5107, allocations: 0.6777 MB / 0.6649 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.5108, allocations: 6.359 kB / 0.6649 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.5108, allocations: 10.39 kB / 0.665 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5108, allocations: 0 / 0.665 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.003357/0.5142, allocations: 0.8828 MB / 0.6658 GB, free: 5.164 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)