Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01113/0.01113, allocations: 101 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 188 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8125/0.8125, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.16 kB / 0.5813 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1803, allocations: 80.21 MB / 0.6596 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003973/0.1843, allocations: 2.6 MB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.186, allocations: 0.9116 MB / 0.6631 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.1863, allocations: 11.94 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1866, allocations: 67.33 kB / 0.6631 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1868, allocations: 67.41 kB / 0.6632 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.1873, allocations: 241.8 kB / 0.6634 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.1878, allocations: 447.7 kB / 0.6639 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.1881, allocations: 233 kB / 0.6641 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1883, allocations: 151.4 kB / 0.6642 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1885, allocations: 151.1 kB / 0.6644 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.1886, allocations: 48 kB / 0.6644 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.1886, allocations: 52 kB / 0.6645 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.1887, allocations: 91.7 kB / 0.6646 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1889, allocations: 187 kB / 0.6647 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.1894, allocations: 0.6191 MB / 0.6653 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1895, allocations: 0 / 0.6653 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1895, allocations: 0 / 0.6653 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.1895, allocations: 0 / 0.6653 GB, free: 7.684 MB / 0.4981 GB 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.0009541/0.1904, allocations: 0.6429 MB / 0.666 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1905, allocations: 12.03 kB / 0.666 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.1906, allocations: 44.41 kB / 0.666 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.1911, allocations: 395.2 kB / 0.6664 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1911, allocations: 20.94 kB / 0.6664 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.1912, allocations: 28.38 kB / 0.6665 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.1917, allocations: 329.7 kB / 0.6668 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1918, allocations: 0 / 0.6668 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1918, allocations: 16 kB / 0.6668 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1918, allocations: 8 kB / 0.6668 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.1923, allocations: 230.2 kB / 0.667 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.1938, allocations: 1.159 MB / 0.6681 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.1942, allocations: 236.2 kB / 0.6684 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.1944, allocations: 104.8 kB / 0.6685 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1945, allocations: 4 kB / 0.6685 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1945, allocations: 30.56 kB / 0.6685 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1945, allocations: 0 / 0.6685 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006791/0.1952, allocations: 301.2 kB / 0.6688 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1953, allocations: 81.11 kB / 0.6689 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.1957, allocations: 328.4 kB / 0.6692 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.1957, allocations: 29.7 kB / 0.6692 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1958, allocations: 196 kB / 0.6694 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.1959, allocations: 51.27 kB / 0.6694 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.196, allocations: 41.7 kB / 0.6695 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1961, allocations: 342.8 kB / 0.6698 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1963, allocations: 88.83 kB / 0.6699 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.1965, allocations: 121.4 kB / 0.67 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.1969, allocations: 188.8 kB / 0.6702 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1969, allocations: 4 kB / 0.6702 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004581/0.1974, allocations: 253.1 kB / 0.6704 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1974, allocations: 7.984 kB / 0.6704 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.1974, allocations: 7.938 kB / 0.6704 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1974, allocations: 4.062 kB / 0.6705 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.1976, allocations: 35.92 kB / 0.6705 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1976, allocations: 4 kB / 0.6705 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1978, allocations: 35.64 kB / 0.6705 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1978, allocations: 4 kB / 0.6705 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002259/0.198, allocations: 192.8 kB / 0.6707 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001463/0.1982, allocations: 103.4 kB / 0.6708 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002517/0.1985, allocations: 168.8 kB / 0.671 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.1985, allocations: 4 kB / 0.671 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003433/0.1988, allocations: 227.7 kB / 0.6712 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.1988, allocations: 8 kB / 0.6712 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.1988, allocations: 0 / 0.6712 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/0.1988, allocations: 4.094 kB / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.199, allocations: 27.98 kB / 0.6712 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-06/0.199, allocations: 0 / 0.6712 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1991, allocations: 19.84 kB / 0.6712 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1991, allocations: 7.938 kB / 0.6713 GB, free: 1.348 MB / 0.4981 GB 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 0.0001032/0.1992, allocations: 192.2 kB / 0.6714 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.1993, allocations: 27.62 kB / 0.6715 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.1994, allocations: 35.28 kB / 0.6715 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1994, allocations: 8 kB / 0.6715 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1994, allocations: 0 / 0.6715 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1994, allocations: 3.938 kB / 0.6715 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.1998, allocations: 405.3 kB / 0.6719 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1998, allocations: 3.984 kB / 0.6719 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2, allocations: 27.92 kB / 0.6719 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2, allocations: 4 kB / 0.6719 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2, allocations: 4 kB / 0.6719 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2, allocations: 0 / 0.6719 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2, allocations: 0 / 0.6719 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.2007, allocations: 439 kB / 0.6724 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2008, allocations: 136.7 kB / 0.6725 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.2009, allocations: 4.078 kB / 0.6725 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.201, allocations: 8 kB / 0.6725 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.2011, allocations: 15.92 kB / 0.6725 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2011, allocations: 8.062 kB / 0.6725 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002276/0.2013, allocations: 235 kB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2013, allocations: 0 / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003965/0.2017, allocations: 87.69 kB / 0.6728 GB, free: 15.64 MB / 0.5137 GB 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.0001137/0.2018, allocations: 113 kB / 0.6729 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.2024, allocations: 287.8 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2024, allocations: 3.938 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2026, allocations: 99 kB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.2032, allocations: 75.72 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.2042, allocations: 0.5511 MB / 0.6739 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2046, allocations: 0.7714 MB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.2047, allocations: 26.28 kB / 0.6747 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.2048, allocations: 19.44 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.2048, allocations: 4 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.007107/0.2119, allocations: 3.193 MB / 0.6778 GB, free: 10.5 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)