Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 222.9 MB / 403.3 MB, free: 7.121 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.001027/0.001027, allocations: 99.75 kB / 484.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009897/0.0009901, allocations: 55.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1258, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003511/0.1294, allocations: 1.674 MB / 0.6418 GB, free: 5.086 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1314, allocations: 1.141 MB / 0.6429 GB, free: 3.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.1315, allocations: 0 / 0.6429 GB, free: 3.938 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.1318, allocations: 23.91 kB / 0.643 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1322, allocations: 51.84 kB / 0.643 GB, free: 3.863 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.1326, allocations: 118.1 kB / 0.6431 GB, free: 3.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1329, allocations: 213.6 kB / 0.6433 GB, free: 3.539 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1331, allocations: 16 kB / 0.6433 GB, free: 3.523 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.846e-05/0.1332, allocations: 75.75 kB / 0.6434 GB, free: 3.449 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1334, allocations: 79.78 kB / 0.6435 GB, free: 3.371 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.1334, allocations: 8 kB / 0.6435 GB, free: 3.363 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.1336, allocations: 67.97 kB / 0.6436 GB, free: 3.297 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.1337, allocations: 71.75 kB / 0.6436 GB, free: 3.227 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1338, allocations: 95.33 kB / 0.6437 GB, free: 3.133 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.1343, allocations: 263.4 kB / 0.644 GB, free: 2.875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1343, allocations: 0 / 0.644 GB, free: 2.875 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1343, allocations: 3.984 kB / 0.644 GB, free: 2.871 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1343, allocations: 4 kB / 0.644 GB, free: 2.867 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009031/0.1352, allocations: 0.519 MB / 0.6445 GB, free: 2.301 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1353, allocations: 12.03 kB / 0.6445 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.1354, allocations: 28.59 kB / 0.6445 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1357, allocations: 271.6 kB / 0.6448 GB, free: 1.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1357, allocations: 8.375 kB / 0.6448 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1357, allocations: 20.31 kB / 0.6448 GB, free: 1.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1361, allocations: 213 kB / 0.645 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1361, allocations: 0 / 0.645 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.1361, allocations: 8 kB / 0.645 GB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1361, allocations: 4 kB / 0.645 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008373/0.137, allocations: 0.7372 MB / 0.6457 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.1379, allocations: 0.5553 MB / 0.6463 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.1384, allocations: 295.6 kB / 0.6466 GB, free: 48 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.1386, allocations: 101.4 kB / 0.6467 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.1386, allocations: 20.25 kB / 0.6467 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.139, allocations: 176.9 kB / 0.6468 GB, free: 15.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.714e-06/0.139, allocations: 4 kB / 0.6469 GB, free: 15.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007013/0.1397, allocations: 377 kB / 0.6472 GB, free: 15.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.1398, allocations: 132.5 kB / 0.6473 GB, free: 15.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.1402, allocations: 300 kB / 0.6476 GB, free: 14.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1402, allocations: 29.7 kB / 0.6477 GB, free: 14.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.1403, allocations: 120.8 kB / 0.6478 GB, free: 14.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.1404, allocations: 114.3 kB / 0.6479 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1405, allocations: 69.67 kB / 0.6479 GB, free: 14.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1407, allocations: 346.8 kB / 0.6483 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1408, allocations: 79.95 kB / 0.6483 GB, free: 14.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.141, allocations: 127.4 kB / 0.6485 GB, free: 13.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.1413, allocations: 212.7 kB / 0.6487 GB, free: 13.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1413, allocations: 3.938 kB / 0.6487 GB, free: 13.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004479/0.1418, allocations: 273.6 kB / 0.6489 GB, free: 13.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1418, allocations: 8.625 kB / 0.6489 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1418, allocations: 0 / 0.6489 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1419, allocations: 4 kB / 0.6489 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1421, allocations: 59.91 kB / 0.649 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1421, allocations: 0 / 0.649 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1422, allocations: 23.83 kB / 0.649 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.1423, allocations: 16 kB / 0.649 GB, free: 13.39 MB / 458.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 (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 (35): * Single equations (assignments): 35 * 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 0.000152/0.1424, allocations: 171 kB / 0.6492 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.1425, allocations: 23.72 kB / 0.6492 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.1431, allocations: 380.4 kB / 0.6496 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1432, allocations: 4 kB / 0.6496 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1432, allocations: 3.938 kB / 0.6496 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1432, allocations: 4 kB / 0.6496 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.1435, allocations: 329.2 kB / 0.6499 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1435, allocations: 3.938 kB / 0.6499 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.1436, allocations: 59.91 kB / 0.65 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1437, allocations: 8.031 kB / 0.65 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.1437, allocations: 12 kB / 0.65 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1437, allocations: 0 / 0.65 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1437, allocations: 4 kB / 0.65 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.1445, allocations: 1.02 MB / 0.651 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1447, allocations: 140.6 kB / 0.6511 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.1447, allocations: 15.94 kB / 0.6511 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1448, allocations: 15.98 kB / 0.6512 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1449, allocations: 23.91 kB / 0.6512 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.1449, allocations: 16 kB / 0.6512 GB, free: 11.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1451, allocations: 229.6 kB / 0.6514 GB, free: 10.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1451, allocations: 0 / 0.6514 GB, free: 10.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003658/0.1455, allocations: 60 kB / 0.6515 GB, free: 10.75 MB / 458.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.0008242/0.1463, allocations: 402.5 kB / 0.6519 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1467, allocations: 231.6 kB / 0.6521 GB, free: 10.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1467, allocations: 0 / 0.6521 GB, free: 10.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.1469, allocations: 131.8 kB / 0.6522 GB, free: 10.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.1472, allocations: 37.62 kB / 0.6522 GB, free: 10.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.1481, allocations: 0.7854 MB / 0.653 GB, free: 9.285 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1484, allocations: 0.7652 MB / 0.6538 GB, free: 8.492 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.1487, allocations: 138.9 kB / 0.6539 GB, free: 8.355 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.1487, allocations: 43.41 kB / 0.6539 GB, free: 8.312 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1487, allocations: 4 kB / 0.6539 GB, free: 8.309 MB / 458.7 MB Notification: Performance of Templates: time 0.005738/0.1545, allocations: 2.948 MB / 0.6568 GB, free: 5.375 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)