Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [: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.001097/0.001097, allocations: 189.5 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4716/0.4716, allocations: 90.85 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 221.4 MB / 342.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 100.1 kB / 415.5 MB, free: 6.293 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.546e-06, allocations: 4 kB / 493.9 MB, free: 7.938 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3407, allocations: 72.3 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.4531, allocations: 101.4 MB / 0.6519 GB, free: 8.457 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4534, allocations: 88.78 kB / 0.652 GB, free: 8.371 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.007584/0.461, allocations: 2.385 MB / 0.6543 GB, free: 6.012 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4611, allocations: 0.7188 kB / 0.6543 GB, free: 6.012 MB / 474.7 MB 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.0003885/0.4615, allocations: 342.5 kB / 0.6547 GB, free: 5.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4615, allocations: 8.031 kB / 0.6547 GB, free: 5.629 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.4616, allocations: 7.344 kB / 0.6547 GB, free: 5.625 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4618, allocations: 167 kB / 0.6548 GB, free: 5.422 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4618, allocations: 0.875 kB / 0.6548 GB, free: 5.422 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.4618, allocations: 3.984 kB / 0.6548 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.511e-05/0.4619, allocations: 17.31 kB / 0.6549 GB, free: 5.402 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.462, allocations: 66.27 kB / 0.6549 GB, free: 5.324 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.4621, allocations: 3.984 kB / 0.6549 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.4621, allocations: 0.75 kB / 0.6549 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4621, allocations: 3.984 kB / 0.6549 GB, free: 5.316 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.4625, allocations: 238.9 kB / 0.6552 GB, free: 5.047 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.977e-05/0.4626, allocations: 35.27 kB / 0.6552 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.4626, allocations: 17.56 kB / 0.6552 GB, free: 4.984 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4626, allocations: 4.562 kB / 0.6552 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.975e-05/0.4627, allocations: 56.69 kB / 0.6553 GB, free: 4.914 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.4628, allocations: 0 / 0.6553 GB, free: 4.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001798/0.4629, allocations: 54.09 kB / 0.6553 GB, free: 4.855 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.463, allocations: 107.3 kB / 0.6554 GB, free: 4.727 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.4631, allocations: 95.56 kB / 0.6555 GB, free: 4.629 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4631, allocations: 25.7 kB / 0.6555 GB, free: 4.598 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.4632, allocations: 89.91 kB / 0.6556 GB, free: 4.508 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.4632, allocations: 15.83 kB / 0.6556 GB, free: 4.492 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.4632, allocations: 0 / 0.6556 GB, free: 4.492 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4633, allocations: 318.8 kB / 0.6559 GB, free: 4.172 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.4634, allocations: 8.812 kB / 0.6559 GB, free: 4.164 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.4634, allocations: 35.47 kB / 0.656 GB, free: 4.121 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.4635, allocations: 9 kB / 0.656 GB, free: 4.113 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4635, allocations: 0 / 0.656 GB, free: 4.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.4636, allocations: 60.97 kB / 0.656 GB, free: 4.051 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4636, allocations: 7 kB / 0.6561 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.4636, allocations: 0 / 0.6561 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.4636, allocations: 0 / 0.6561 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.4637, allocations: 8.906 kB / 0.6561 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4637, allocations: 9.328 kB / 0.6561 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4638, allocations: 9.812 kB / 0.6561 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4639, allocations: 0 / 0.6561 GB, free: 4.023 MB / 474.7 MB 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 0.0001095/0.464, allocations: 110.1 kB / 0.6562 GB, free: 3.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.464, allocations: 7.891 kB / 0.6562 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.464, allocations: 8.25 kB / 0.6562 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.4641, allocations: 4.562 kB / 0.6562 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4641, allocations: 3.938 kB / 0.6562 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4641, allocations: 1 kB / 0.6562 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.4642, allocations: 138.2 kB / 0.6563 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4642, allocations: 0 / 0.6563 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.4643, allocations: 7.125 kB / 0.6563 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4643, allocations: 5.781 kB / 0.6564 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4643, allocations: 3.984 kB / 0.6564 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4643, allocations: 4 kB / 0.6564 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4643, allocations: 0 / 0.6564 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001209/0.4644, allocations: 77.03 kB / 0.6564 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.4645, allocations: 89.59 kB / 0.6565 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4645, allocations: 0.6562 kB / 0.6565 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4647, allocations: 13.27 kB / 0.6565 GB, free: 3.484 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.4647, allocations: 1.156 kB / 0.6565 GB, free: 3.484 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.4647, allocations: 4 kB / 0.6565 GB, free: 3.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.625e-05/0.4648, allocations: 90.2 kB / 0.6566 GB, free: 3.395 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.465, allocations: 19.84 kB / 0.6566 GB, free: 3.375 MB / 474.7 MB 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.0001505/0.4652, allocations: 101.3 kB / 0.6567 GB, free: 3.266 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4653, allocations: 31.98 kB / 0.6568 GB, free: 3.234 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4653, allocations: 0 / 0.6568 GB, free: 3.234 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.4654, allocations: 12 kB / 0.6568 GB, free: 3.223 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4655, allocations: 10.66 kB / 0.6568 GB, free: 3.219 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.4658, allocations: 69.22 kB / 0.6569 GB, free: 3.129 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.4661, allocations: 0.6993 MB / 0.6575 GB, free: 2.406 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4661, allocations: 0.5312 kB / 0.6575 GB, free: 2.406 MB / 474.7 MB Notification: Performance of Templates: time 0.002935/0.4691, allocations: 0.7901 MB / 0.6583 GB, free: 1.664 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)