Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002697/0.002697, allocations: 184.9 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6798/0.6798, allocations: 130.6 MB / 138.5 MB, free: 2.156 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.3 MB / 391.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009192, allocations: 108.4 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.615e-06, allocations: 2.625 kB / 0.5479 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1525, allocations: 81.58 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5747, allocations: 110.9 MB / 0.7359 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.575, allocations: 82.48 kB / 0.736 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006461/0.5814, allocations: 2.396 MB / 0.7384 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5815, allocations: 0 / 0.7384 GB, free: 11.08 MB / 0.4948 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.0003487/0.5818, allocations: 339.9 kB / 0.7387 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5819, allocations: 7.719 kB / 0.7387 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.5819, allocations: 7.688 kB / 0.7387 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.582, allocations: 164.3 kB / 0.7389 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5821, allocations: 3.906 kB / 0.7389 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.5821, allocations: 1.172 kB / 0.7389 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.522e-05/0.5821, allocations: 12.56 kB / 0.7389 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.537e-05/0.5822, allocations: 72.92 kB / 0.7389 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5823, allocations: 0 / 0.7389 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.5823, allocations: 3.984 kB / 0.7389 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5823, allocations: 0 / 0.7389 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.5826, allocations: 237.4 kB / 0.7392 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.5827, allocations: 34.62 kB / 0.7392 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.5827, allocations: 21.2 kB / 0.7392 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.5827, allocations: 0 / 0.7392 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/0.5828, allocations: 55.23 kB / 0.7393 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5828, allocations: 0 / 0.7393 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001387/0.5829, allocations: 56.83 kB / 0.7393 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.583, allocations: 102.8 kB / 0.7394 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.5831, allocations: 99.72 kB / 0.7395 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5831, allocations: 34.23 kB / 0.7396 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.5831, allocations: 85.53 kB / 0.7396 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.5831, allocations: 11.72 kB / 0.7396 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.5831, allocations: 0 / 0.7396 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.5832, allocations: 315.8 kB / 0.7399 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.5833, allocations: 10.94 kB / 0.74 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.5833, allocations: 31.42 kB / 0.74 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.5833, allocations: 20.36 kB / 0.74 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5833, allocations: 0 / 0.74 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.401e-05/0.5834, allocations: 54.64 kB / 0.7401 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.5834, allocations: 3.906 kB / 0.7401 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5835, allocations: 0 / 0.7401 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.5835, allocations: 0 / 0.7401 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.5835, allocations: 14.14 kB / 0.7401 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.5835, allocations: 0 / 0.7401 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.5837, allocations: 18.52 kB / 0.7401 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5837, allocations: 0 / 0.7401 GB, free: 25.37 MB / 0.5105 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/0.5837, allocations: 105 kB / 0.7402 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.5838, allocations: 1.406 kB / 0.7402 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.5838, allocations: 14.62 kB / 0.7402 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5838, allocations: 0 / 0.7402 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5838, allocations: 1.641 kB / 0.7402 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5838, allocations: 4.375 kB / 0.7402 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797e-05/0.5839, allocations: 145.3 kB / 0.7404 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5839, allocations: 4 kB / 0.7404 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.5839, allocations: 4 kB / 0.7404 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5839, allocations: 3.844 kB / 0.7404 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.584, allocations: 1.547 kB / 0.7404 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.584, allocations: 3.906 kB / 0.7404 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.584, allocations: 0 / 0.7404 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.707e-05/0.5841, allocations: 74.38 kB / 0.7404 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.5841, allocations: 87.97 kB / 0.7405 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.5842, allocations: 10.5 kB / 0.7405 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.5843, allocations: 10.02 kB / 0.7405 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.5843, allocations: 2.672 kB / 0.7405 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5843, allocations: 3.969 kB / 0.7406 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.458e-05/0.5844, allocations: 84.91 kB / 0.7406 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001829/0.5845, allocations: 11.59 kB / 0.7406 GB, free: 24.84 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.5847, allocations: 107.8 kB / 0.7407 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.55e-05/0.5848, allocations: 28.03 kB / 0.7408 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5848, allocations: 0 / 0.7408 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.5848, allocations: 17.09 kB / 0.7408 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.5849, allocations: 14.69 kB / 0.7408 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.5851, allocations: 67.97 kB / 0.7409 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.5853, allocations: 0.6891 MB / 0.7415 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.5854, allocations: 4 kB / 0.7415 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.002317/0.5877, allocations: 0.7939 MB / 0.7423 GB, free: 23.89 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)