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.0008526/0.0008527, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001087/0.001087, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9513/0.9513, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 8 kB / 0.507 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1879, allocations: 82.3 MB / 0.5874 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003182/0.1911, allocations: 2.18 MB / 0.5895 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1929, allocations: 0.8382 MB / 0.5903 GB, free: 116 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.1933, allocations: 8 kB / 0.5903 GB, free: 108 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1935, allocations: 43.58 kB / 0.5904 GB, free: 64 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1937, allocations: 35.66 kB / 0.5904 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1943, allocations: 131.9 kB / 0.5905 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.1948, allocations: 387.6 kB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.1952, allocations: 148.4 kB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.1953, allocations: 83.45 kB / 0.5911 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1955, allocations: 99.3 kB / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.1955, allocations: 12 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.1956, allocations: 8 kB / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1956, allocations: 35.78 kB / 0.5913 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.1957, allocations: 93.45 kB / 0.5914 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.1961, allocations: 487 kB / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1962, allocations: 4 kB / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.777e-06/0.1962, allocations: 3.984 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.1962, allocations: 0 / 0.5918 GB, free: 14.55 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.0009574/0.1971, allocations: 0.5843 MB / 0.5924 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1972, allocations: 12.03 kB / 0.5924 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.1973, allocations: 39.53 kB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.1978, allocations: 362.2 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.1979, allocations: 20.56 kB / 0.5928 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.1979, allocations: 31.94 kB / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.1986, allocations: 329.4 kB / 0.5932 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1986, allocations: 3.938 kB / 0.5932 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.1986, allocations: 12 kB / 0.5932 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1987, allocations: 4 kB / 0.5932 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1992, allocations: 254 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.2009, allocations: 1.182 MB / 0.5946 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.2014, allocations: 238.8 kB / 0.5948 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.2016, allocations: 108.9 kB / 0.5949 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.2016, allocations: 7.938 kB / 0.5949 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2017, allocations: 30.56 kB / 0.5949 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.2017, allocations: 0 / 0.5949 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006804/0.2024, allocations: 323.8 kB / 0.5952 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.2024, allocations: 81.11 kB / 0.5953 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.2028, allocations: 320.6 kB / 0.5956 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2028, allocations: 29.7 kB / 0.5957 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.203, allocations: 200 kB / 0.5959 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.2031, allocations: 59.19 kB / 0.5959 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.2031, allocations: 4 kB / 0.5959 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2032, allocations: 338.8 kB / 0.5962 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2034, allocations: 79.97 kB / 0.5963 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.2036, allocations: 127.3 kB / 0.5964 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.2038, allocations: 98.2 kB / 0.5965 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2039, allocations: 0 / 0.5965 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004704/0.2043, allocations: 269 kB / 0.5968 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.2044, allocations: 106.8 kB / 0.5969 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2044, allocations: 4 kB / 0.5969 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2044, allocations: 0 / 0.5969 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.2046, allocations: 39.92 kB / 0.5969 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2047, allocations: 0 / 0.5969 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2048, allocations: 35.73 kB / 0.597 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2048, allocations: 4 kB / 0.597 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.2048, allocations: 4 kB / 0.597 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003131/0.2051, allocations: 173.9 kB / 0.5971 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2052, allocations: 3.984 kB / 0.5971 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.2052, allocations: 7.938 kB / 0.5971 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2053, allocations: 28 kB / 0.5972 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2053, allocations: 3.953 kB / 0.5972 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2054, allocations: 31.67 kB / 0.5972 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.2054, allocations: 7.984 kB / 0.5972 GB, free: 8.777 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.2057, allocations: 237.1 kB / 0.5974 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.2057, allocations: 27.62 kB / 0.5975 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.2058, allocations: 35.28 kB / 0.5975 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2058, allocations: 4 kB / 0.5975 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2058, allocations: 7.953 kB / 0.5975 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2058, allocations: 0 / 0.5975 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.2063, allocations: 401.4 kB / 0.5979 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2063, allocations: 3.938 kB / 0.5979 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2065, allocations: 35.92 kB / 0.5979 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.2065, allocations: 3.984 kB / 0.5979 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2065, allocations: 0 / 0.5979 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2065, allocations: 4 kB / 0.5979 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2065, allocations: 0 / 0.5979 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.2073, allocations: 455 kB / 0.5984 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2074, allocations: 132.7 kB / 0.5985 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.2074, allocations: 8 kB / 0.5985 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2076, allocations: 15.92 kB / 0.5985 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.2077, allocations: 11.98 kB / 0.5985 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2077, allocations: 4 kB / 0.5985 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002608/0.2079, allocations: 235 kB / 0.5988 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.208, allocations: 0 / 0.5988 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003998/0.2084, allocations: 91.66 kB / 0.5989 GB, free: 6.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.2085, allocations: 103.2 kB / 0.5989 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006035/0.2091, allocations: 302 kB / 0.5992 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2091, allocations: 0 / 0.5992 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.2093, allocations: 103.9 kB / 0.5993 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.2099, allocations: 83.09 kB / 0.5994 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2111, allocations: 0.6402 MB / 0.6 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.2115, allocations: 0.7755 MB / 0.6008 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.2116, allocations: 30.28 kB / 0.6008 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.2117, allocations: 19.44 kB / 0.6008 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.2117, allocations: 0 / 0.6008 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.006726/0.2184, allocations: 2.863 MB / 0.6036 GB, free: 2.086 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)