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.001079/0.001079, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.007826/0.007826, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9289/0.9289, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003146, allocations: 9.156 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 82.32 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003292/0.177, allocations: 2.261 MB / 0.5902 GB, free: 364 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1788, allocations: 0.8574 MB / 0.591 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003814/0.1792, allocations: 15.88 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1795, allocations: 51.64 kB / 0.5911 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1797, allocations: 47.58 kB / 0.5911 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.1803, allocations: 218.8 kB / 0.5913 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000602/0.1809, allocations: 403.7 kB / 0.5917 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.1813, allocations: 229.1 kB / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1815, allocations: 87.34 kB / 0.592 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1817, allocations: 99.23 kB / 0.5921 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.1817, allocations: 8 kB / 0.5921 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.644e-05/0.1817, allocations: 8 kB / 0.5921 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.1818, allocations: 43.66 kB / 0.5922 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.1819, allocations: 156.8 kB / 0.5923 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.1824, allocations: 0.553 MB / 0.5929 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1824, allocations: 0 / 0.5929 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.985e-06/0.1825, allocations: 7.984 kB / 0.5929 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.1825, allocations: 0 / 0.5929 GB, free: 13.58 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.0009765/0.1835, allocations: 0.5728 MB / 0.5934 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1835, allocations: 12.03 kB / 0.5934 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.1836, allocations: 40.47 kB / 0.5935 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.1841, allocations: 387.2 kB / 0.5938 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.1842, allocations: 20.94 kB / 0.5939 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.1842, allocations: 24.38 kB / 0.5939 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.1849, allocations: 341.7 kB / 0.5942 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1849, allocations: 0 / 0.5942 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.185, allocations: 12 kB / 0.5942 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.185, allocations: 8 kB / 0.5942 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.1855, allocations: 242.2 kB / 0.5945 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.1872, allocations: 1.178 MB / 0.5956 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.1877, allocations: 246.8 kB / 0.5959 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.1879, allocations: 100.9 kB / 0.5959 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.188, allocations: 4 kB / 0.596 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.188, allocations: 38.56 kB / 0.596 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.188, allocations: 0 / 0.596 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0007/0.1887, allocations: 321.1 kB / 0.5963 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1888, allocations: 81.11 kB / 0.5964 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.1891, allocations: 324.5 kB / 0.5967 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1892, allocations: 29.7 kB / 0.5967 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1893, allocations: 204 kB / 0.5969 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.1894, allocations: 55.2 kB / 0.597 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.1894, allocations: 21.7 kB / 0.597 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1896, allocations: 342.8 kB / 0.5973 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1898, allocations: 87.97 kB / 0.5974 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.19, allocations: 125 kB / 0.5975 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.1904, allocations: 204.4 kB / 0.5977 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1904, allocations: 4 kB / 0.5977 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000493/0.1909, allocations: 265.1 kB / 0.598 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.191, allocations: 113.3 kB / 0.5981 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.191, allocations: 0 / 0.5981 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.191, allocations: 3.938 kB / 0.5981 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1912, allocations: 39.91 kB / 0.5981 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1912, allocations: 0 / 0.5981 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.1913, allocations: 27.78 kB / 0.5981 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.1914, allocations: 8 kB / 0.5981 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.1914, allocations: 4 kB / 0.5981 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003071/0.1917, allocations: 175.8 kB / 0.5983 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1917, allocations: 4 kB / 0.5983 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.1917, allocations: 3.984 kB / 0.5983 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1918, allocations: 31.98 kB / 0.5984 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1918, allocations: 3.938 kB / 0.5984 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.192, allocations: 19.91 kB / 0.5984 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.192, allocations: 8 kB / 0.5984 GB, free: 7.656 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.0001968/0.1922, allocations: 237.1 kB / 0.5986 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.1922, allocations: 35.56 kB / 0.5986 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.1923, allocations: 39.27 kB / 0.5987 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1923, allocations: 0 / 0.5987 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1924, allocations: 4 kB / 0.5987 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1924, allocations: 0 / 0.5987 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.1928, allocations: 417.2 kB / 0.5991 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1928, allocations: 4 kB / 0.5991 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.193, allocations: 27.92 kB / 0.5991 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.193, allocations: 4 kB / 0.5991 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.193, allocations: 4 kB / 0.5991 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.193, allocations: 0 / 0.5991 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.193, allocations: 0 / 0.5991 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.1937, allocations: 455 kB / 0.5996 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1939, allocations: 128.7 kB / 0.5997 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.1939, allocations: 8.062 kB / 0.5997 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1941, allocations: 15.98 kB / 0.5997 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1941, allocations: 7.984 kB / 0.5997 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1942, allocations: 8 kB / 0.5997 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002383/0.1944, allocations: 235 kB / 0.5999 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1944, allocations: 0 / 0.5999 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003933/0.1948, allocations: 95.53 kB / 0.6 GB, free: 5.871 MB / 0.4981 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.0001221/0.1949, allocations: 107.2 kB / 0.6001 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006141/0.1956, allocations: 301.8 kB / 0.6004 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1956, allocations: 4 kB / 0.6004 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.1958, allocations: 102.9 kB / 0.6005 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.1964, allocations: 77.38 kB / 0.6006 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1976, allocations: 0.6754 MB / 0.6013 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.1979, allocations: 0.7755 MB / 0.602 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.1981, allocations: 38.25 kB / 0.6021 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.1982, allocations: 19.44 kB / 0.6021 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1982, allocations: 0 / 0.6021 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.006903/0.2051, allocations: 2.938 MB / 0.6049 GB, free: 0.832 MB / 0.4981 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)