Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 183 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-master/package.mo): time 0.6992/0.6992, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.406/1.406, allocations: 222.9 MB / 404.7 MB, free: 6.047 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.001089/0.001089, allocations: 107.3 kB / 485.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1609, allocations: 80.43 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004157/0.1651, allocations: 2.638 MB / 0.6447 GB, free: 2.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.167, allocations: 0.8884 MB / 0.6456 GB, free: 1.879 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.1673, allocations: 7.938 kB / 0.6456 GB, free: 1.871 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1676, allocations: 43.66 kB / 0.6456 GB, free: 1.828 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1678, allocations: 51.59 kB / 0.6457 GB, free: 1.777 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.1683, allocations: 213.7 kB / 0.6459 GB, free: 1.57 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000563/0.1689, allocations: 415.6 kB / 0.6463 GB, free: 1.164 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.1693, allocations: 217.1 kB / 0.6465 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1695, allocations: 115.3 kB / 0.6466 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1697, allocations: 123.2 kB / 0.6467 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.1697, allocations: 16 kB / 0.6467 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.412e-05/0.1698, allocations: 16 kB / 0.6467 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.1698, allocations: 59.64 kB / 0.6468 GB, free: 0.625 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.17, allocations: 155.1 kB / 0.647 GB, free: 484 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.1705, allocations: 0.5688 MB / 0.6475 GB, free: 15.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1705, allocations: 0 / 0.6475 GB, free: 15.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1705, allocations: 0 / 0.6475 GB, free: 15.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1705, allocations: 4 kB / 0.6475 GB, free: 15.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009934/0.1715, allocations: 0.6429 MB / 0.6481 GB, free: 15.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1716, allocations: 12.03 kB / 0.6482 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1717, allocations: 44.47 kB / 0.6482 GB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.1723, allocations: 379.2 kB / 0.6486 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.1724, allocations: 20.94 kB / 0.6486 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.1724, allocations: 32.31 kB / 0.6486 GB, free: 14.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.1732, allocations: 325.7 kB / 0.6489 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1732, allocations: 0 / 0.6489 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.1732, allocations: 15.98 kB / 0.6489 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1733, allocations: 8 kB / 0.6489 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.1739, allocations: 238.1 kB / 0.6492 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.1755, allocations: 1.174 MB / 0.6503 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.176, allocations: 234.8 kB / 0.6505 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.1762, allocations: 96.83 kB / 0.6506 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1762, allocations: 0 / 0.6506 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1762, allocations: 38.56 kB / 0.6507 GB, free: 12.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1762, allocations: 0 / 0.6507 GB, free: 12.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006209/0.1769, allocations: 299.1 kB / 0.651 GB, free: 12.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1769, allocations: 85.03 kB / 0.651 GB, free: 12.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.1772, allocations: 328.5 kB / 0.6513 GB, free: 11.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1773, allocations: 33.7 kB / 0.6514 GB, free: 11.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1774, allocations: 192.1 kB / 0.6516 GB, free: 11.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.1775, allocations: 55.2 kB / 0.6516 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.1776, allocations: 37.7 kB / 0.6517 GB, free: 11.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1777, allocations: 342.8 kB / 0.652 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1779, allocations: 88.83 kB / 0.6521 GB, free: 11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1781, allocations: 125.8 kB / 0.6522 GB, free: 10.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.1784, allocations: 186.5 kB / 0.6524 GB, free: 10.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1784, allocations: 0 / 0.6524 GB, free: 10.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004547/0.1789, allocations: 258.2 kB / 0.6526 GB, free: 10.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1789, allocations: 5.25 kB / 0.6526 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1789, allocations: 0 / 0.6526 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1789, allocations: 4 kB / 0.6526 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1791, allocations: 27.98 kB / 0.6526 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1791, allocations: 0 / 0.6526 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1793, allocations: 35.7 kB / 0.6527 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1793, allocations: 8.062 kB / 0.6527 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002209/0.1795, allocations: 200 kB / 0.6529 GB, free: 10.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001528/0.1797, allocations: 103.4 kB / 0.653 GB, free: 10.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002481/0.18, allocations: 156.4 kB / 0.6531 GB, free: 9.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.18, allocations: 4.031 kB / 0.6531 GB, free: 9.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003409/0.1803, allocations: 229.1 kB / 0.6533 GB, free: 9.629 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.1803, allocations: 4 kB / 0.6533 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.1803, allocations: 4 kB / 0.6534 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/0.1803, allocations: 0 / 0.6534 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1805, allocations: 35.86 kB / 0.6534 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.1805, allocations: 0 / 0.6534 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1806, allocations: 19.78 kB / 0.6534 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1806, allocations: 11.94 kB / 0.6534 GB, free: 9.555 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.845e-05/0.1807, allocations: 188.3 kB / 0.6536 GB, free: 9.363 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.1808, allocations: 31.62 kB / 0.6536 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.1809, allocations: 35.28 kB / 0.6537 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1809, allocations: 4 kB / 0.6537 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1809, allocations: 3.984 kB / 0.6537 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1809, allocations: 3.938 kB / 0.6537 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.1813, allocations: 401.4 kB / 0.6541 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1813, allocations: 0 / 0.6541 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1815, allocations: 27.98 kB / 0.6541 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1815, allocations: 8 kB / 0.6541 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1815, allocations: 4 kB / 0.6541 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1815, allocations: 0 / 0.6541 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1815, allocations: 3.938 kB / 0.6541 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.1852, allocations: 2.489 MB / 0.6565 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.1854, allocations: 140.7 kB / 0.6567 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1855, allocations: 7.938 kB / 0.6567 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1856, allocations: 4 kB / 0.6567 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.1857, allocations: 15.98 kB / 0.6567 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1857, allocations: 3.984 kB / 0.6567 GB, free: 5.977 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1859, allocations: 235.1 kB / 0.6569 GB, free: 5.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.186, allocations: 0 / 0.6569 GB, free: 5.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005927/0.1866, allocations: 127.6 kB / 0.657 GB, free: 5.625 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001096/0.1867, allocations: 103.2 kB / 0.6571 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005831/0.1873, allocations: 283.7 kB / 0.6574 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1873, allocations: 0 / 0.6574 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.1875, allocations: 95.91 kB / 0.6575 GB, free: 5.145 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.1881, allocations: 89.52 kB / 0.6576 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1894, allocations: 0.8422 MB / 0.6584 GB, free: 4.184 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1897, allocations: 0.7836 MB / 0.6592 GB, free: 3.371 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.1899, allocations: 42.2 kB / 0.6592 GB, free: 3.328 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.19, allocations: 19.44 kB / 0.6592 GB, free: 3.309 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.19, allocations: 0 / 0.6592 GB, free: 3.309 MB / 458.7 MB Notification: Performance of Templates: time 0.007502/0.1975, allocations: 3.629 MB / 0.6628 GB, free: 15.7 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)