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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00684/0.00684, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00159/0.00159, allocations: 194.7 kB / 16.67 MB, free: 5.52 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.339/1.339, allocations: 222.9 MB / 240.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8077/0.8077, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001145, allocations: 62.72 kB / 0.5856 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1682, allocations: 80.92 MB / 0.6646 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00438/0.1726, allocations: 2.603 MB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1748, allocations: 0.9233 MB / 0.6681 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.1754, allocations: 11.94 kB / 0.6681 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.1758, allocations: 63.33 kB / 0.6681 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.1762, allocations: 71.39 kB / 0.6682 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.1769, allocations: 239.1 kB / 0.6684 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.1776, allocations: 455.7 kB / 0.6689 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.1781, allocations: 221.1 kB / 0.6691 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.1783, allocations: 143.4 kB / 0.6692 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1785, allocations: 151.1 kB / 0.6693 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.1786, allocations: 52 kB / 0.6694 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.1787, allocations: 52 kB / 0.6694 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.1788, allocations: 99.69 kB / 0.6695 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1789, allocations: 179.1 kB / 0.6697 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.1795, allocations: 0.6268 MB / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1795, allocations: 0 / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1795, allocations: 0 / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.106e-05/0.1796, allocations: 0 / 0.6703 GB, free: 44 kB / 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.001141/0.1807, allocations: 0.6429 MB / 0.671 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1808, allocations: 13.09 kB / 0.671 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.1809, allocations: 40.47 kB / 0.671 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.1815, allocations: 395.2 kB / 0.6714 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.1815, allocations: 20.94 kB / 0.6714 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.1816, allocations: 28.38 kB / 0.6714 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.1822, allocations: 325.7 kB / 0.6717 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1822, allocations: 0 / 0.6717 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1823, allocations: 15.92 kB / 0.6718 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1823, allocations: 8 kB / 0.6718 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.1828, allocations: 238.1 kB / 0.672 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1844, allocations: 1.155 MB / 0.6731 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.1849, allocations: 226.8 kB / 0.6733 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1851, allocations: 100.8 kB / 0.6734 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1851, allocations: 8 kB / 0.6734 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1851, allocations: 30.56 kB / 0.6735 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1851, allocations: 0 / 0.6735 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0006538/0.1858, allocations: 293.2 kB / 0.6737 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1859, allocations: 89.05 kB / 0.6738 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.1862, allocations: 332.4 kB / 0.6741 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1862, allocations: 29.7 kB / 0.6742 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1864, allocations: 196.1 kB / 0.6744 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.1864, allocations: 47.27 kB / 0.6744 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.1865, allocations: 41.7 kB / 0.6744 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1867, allocations: 346.8 kB / 0.6748 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1869, allocations: 92.83 kB / 0.6749 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1871, allocations: 111.4 kB / 0.675 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.1874, allocations: 196.5 kB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1874, allocations: 0 / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004532/0.1879, allocations: 254.7 kB / 0.6754 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1879, allocations: 8 kB / 0.6754 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1879, allocations: 0 / 0.6754 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1879, allocations: 0 / 0.6754 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1881, allocations: 35.92 kB / 0.6754 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1881, allocations: 0 / 0.6754 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1883, allocations: 35.77 kB / 0.6755 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1883, allocations: 7.938 kB / 0.6755 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002223/0.1885, allocations: 196.1 kB / 0.6757 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001519/0.1887, allocations: 101.8 kB / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002584/0.189, allocations: 176.4 kB / 0.6759 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.189, allocations: 0 / 0.6759 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003601/0.1893, allocations: 225.2 kB / 0.6762 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1894, allocations: 4 kB / 0.6762 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1894, allocations: 7.922 kB / 0.6762 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.1894, allocations: 8 kB / 0.6762 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1895, allocations: 20 kB / 0.6762 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1895, allocations: 4 kB / 0.6762 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1896, allocations: 23.89 kB / 0.6762 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1897, allocations: 7.938 kB / 0.6762 GB, free: 9.691 MB / 0.5137 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.0001151/0.1898, allocations: 188.2 kB / 0.6764 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.1898, allocations: 31.62 kB / 0.6764 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.376e-05/0.1899, allocations: 35.28 kB / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1899, allocations: 0 / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1899, allocations: 0 / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.19, allocations: 3.938 kB / 0.6765 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.1904, allocations: 409.3 kB / 0.6769 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1904, allocations: 4 kB / 0.6769 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1905, allocations: 27.97 kB / 0.6769 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1905, allocations: 0 / 0.6769 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1906, allocations: 4 kB / 0.6769 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1906, allocations: 7.938 kB / 0.6769 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1906, allocations: 0 / 0.6769 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.1912, allocations: 437.3 kB / 0.6773 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1914, allocations: 132.7 kB / 0.6774 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.1914, allocations: 8 kB / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1916, allocations: 7.984 kB / 0.6775 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.1916, allocations: 15.92 kB / 0.6775 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1916, allocations: 4 kB / 0.6775 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002262/0.1919, allocations: 231.1 kB / 0.6777 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1919, allocations: 7.875 kB / 0.6777 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004061/0.1923, allocations: 91.75 kB / 0.6778 GB, free: 7.996 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.0001205/0.1924, allocations: 104.5 kB / 0.6779 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005909/0.193, allocations: 290.4 kB / 0.6782 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.193, allocations: 0 / 0.6782 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.1932, allocations: 104.1 kB / 0.6783 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.1938, allocations: 78.27 kB / 0.6783 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.195, allocations: 0.551 MB / 0.6789 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.1954, allocations: 0.7753 MB / 0.6796 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.1956, allocations: 30.27 kB / 0.6797 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.1956, allocations: 19.44 kB / 0.6797 GB, free: 6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1957, allocations: 0 / 0.6797 GB, free: 6 MB / 0.5137 GB Notification: Performance of Templates: time 0.007236/0.2029, allocations: 3.192 MB / 0.6828 GB, free: 2.84 MB / 0.5137 GB 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)