Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 182.8 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.83/0.83, 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.508/1.508, allocations: 222.9 MB / 403.4 MB, free: 7.043 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.001041/0.001041, allocations: 102 kB / 484.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009587/0.0009587, allocations: 55.92 kB / 0.5619 GB, free: 71 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1256, allocations: 80.2 MB / 0.6402 GB, free: 6.73 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003272/0.1289, allocations: 2.141 MB / 0.6423 GB, free: 4.57 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1307, allocations: 1.228 MB / 0.6435 GB, free: 3.336 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.1308, allocations: 4 kB / 0.6435 GB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1312, allocations: 99.53 kB / 0.6436 GB, free: 3.234 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.682e-05/0.1313, allocations: 39.7 kB / 0.6436 GB, free: 3.195 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.1318, allocations: 209.3 kB / 0.6438 GB, free: 2.992 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.1321, allocations: 267.2 kB / 0.6441 GB, free: 2.73 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1323, allocations: 97.14 kB / 0.6442 GB, free: 2.633 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.1324, allocations: 87.62 kB / 0.6442 GB, free: 2.547 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1325, allocations: 119.5 kB / 0.6444 GB, free: 2.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1326, allocations: 16 kB / 0.6444 GB, free: 2.414 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.1329, allocations: 199.7 kB / 0.6446 GB, free: 2.219 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.133, allocations: 79.73 kB / 0.6446 GB, free: 2.141 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.1331, allocations: 139.1 kB / 0.6448 GB, free: 2.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.1336, allocations: 0.5374 MB / 0.6453 GB, free: 1.465 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1337, allocations: 0 / 0.6453 GB, free: 1.465 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1337, allocations: 0 / 0.6453 GB, free: 1.465 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1337, allocations: 0 / 0.6453 GB, free: 1.465 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001063/0.1347, allocations: 0.8088 MB / 0.6461 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1348, allocations: 8.031 kB / 0.6461 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.1349, allocations: 36.56 kB / 0.6461 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1352, allocations: 316.4 kB / 0.6464 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1352, allocations: 16.66 kB / 0.6464 GB, free: 172 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.1353, allocations: 20.12 kB / 0.6465 GB, free: 152 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.1358, allocations: 295.5 kB / 0.6467 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1359, allocations: 0 / 0.6467 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1359, allocations: 7.984 kB / 0.6467 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1359, allocations: 7.938 kB / 0.6468 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006389/0.1366, allocations: 276.3 kB / 0.647 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.1375, allocations: 0.6679 MB / 0.6477 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.1381, allocations: 230.6 kB / 0.6479 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.1385, allocations: 192.7 kB / 0.6481 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1385, allocations: 0 / 0.6481 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1385, allocations: 38.56 kB / 0.6481 GB, free: 14.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1385, allocations: 0 / 0.6481 GB, free: 14.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.00132/0.1399, allocations: 0.6628 MB / 0.6488 GB, free: 13.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.14, allocations: 140.5 kB / 0.6489 GB, free: 13.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.1404, allocations: 384.4 kB / 0.6493 GB, free: 13.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.1404, allocations: 33.7 kB / 0.6493 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1405, allocations: 160.3 kB / 0.6494 GB, free: 12.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.1406, allocations: 47.36 kB / 0.6495 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1407, allocations: 49.7 kB / 0.6495 GB, free: 12.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1408, allocations: 346.7 kB / 0.6499 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.1412, allocations: 231.9 kB / 0.6501 GB, free: 12.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.1417, allocations: 244.6 kB / 0.6503 GB, free: 12.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009136/0.1427, allocations: 0.6756 MB / 0.651 GB, free: 11.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1427, allocations: 4 kB / 0.651 GB, free: 11.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001025/0.1437, allocations: 0.7337 MB / 0.6517 GB, free: 10.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.1438, allocations: 182.3 kB / 0.6519 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1438, allocations: 3.938 kB / 0.6519 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1438, allocations: 0 / 0.6519 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.144, allocations: 27.97 kB / 0.6519 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.144, allocations: 0 / 0.6519 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.1443, allocations: 55.64 kB / 0.652 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1443, allocations: 8 kB / 0.652 GB, free: 10.2 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 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0002/0.1445, allocations: 260.1 kB / 0.6522 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.1446, allocations: 31.62 kB / 0.6522 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.1446, allocations: 34.94 kB / 0.6523 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1446, allocations: 3.938 kB / 0.6523 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1446, allocations: 3.984 kB / 0.6523 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1446, allocations: 4 kB / 0.6523 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.145, allocations: 345.3 kB / 0.6526 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.145, allocations: 0 / 0.6526 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1451, allocations: 27.97 kB / 0.6526 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1451, allocations: 0 / 0.6526 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1452, allocations: 7.984 kB / 0.6527 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1452, allocations: 0 / 0.6527 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1452, allocations: 0 / 0.6527 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.1468, allocations: 1.48 MB / 0.6541 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.147, allocations: 116.7 kB / 0.6542 GB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.147, allocations: 11.94 kB / 0.6542 GB, free: 7.723 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.1472, allocations: 23.97 kB / 0.6542 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1474, allocations: 23.97 kB / 0.6543 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1474, allocations: 4 kB / 0.6543 GB, free: 7.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.1477, allocations: 283 kB / 0.6545 GB, free: 7.398 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 0 / 0.6545 GB, free: 7.398 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005373/0.1482, allocations: 107.9 kB / 0.6546 GB, free: 7.293 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.0002953/0.1485, allocations: 163.1 kB / 0.6548 GB, free: 7.121 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1497, allocations: 0.8282 MB / 0.6556 GB, free: 6.219 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.1497, allocations: 4 kB / 0.6556 GB, free: 6.215 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.1502, allocations: 374 kB / 0.656 GB, free: 5.812 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1507, allocations: 69.34 kB / 0.656 GB, free: 5.742 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1518, allocations: 0.8651 MB / 0.6569 GB, free: 4.836 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1522, allocations: 0.787 MB / 0.6576 GB, free: 4.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.246e-05/0.1523, allocations: 21.95 kB / 0.6577 GB, free: 4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.1523, allocations: 19.44 kB / 0.6577 GB, free: 3.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1523, allocations: 0 / 0.6577 GB, free: 3.98 MB / 458.7 MB Notification: Performance of Templates: time 0.008974/0.1613, allocations: 5.634 MB / 0.6632 GB, free: 14.41 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)