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.006957/0.006957, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8207/0.8207, allocations: 135.2 MB / 151.1 MB, free: 13.77 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.541/1.541, allocations: 223.2 MB / 406.9 MB, free: 3.121 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.0008591, allocations: 97.95 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 8 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4145, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5754, allocations: 117.2 MB / 0.7639 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5757, allocations: 87.95 kB / 0.764 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01584/0.5915, allocations: 6.95 MB / 0.7708 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5916, allocations: 0 / 0.7708 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.699e-05/0.5916, allocations: 4 kB / 0.7708 GB, free: 7.742 MB / 0.5417 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.0008175/0.5924, allocations: 0.5959 MB / 0.7713 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5925, allocations: 8.031 kB / 0.7713 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.5925, allocations: 43.48 kB / 0.7714 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.593, allocations: 378.8 kB / 0.7718 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5931, allocations: 32.44 kB / 0.7718 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.5931, allocations: 28 kB / 0.7718 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.5937, allocations: 321.9 kB / 0.7721 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.5937, allocations: 0 / 0.7721 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.5937, allocations: 15.98 kB / 0.7721 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.5937, allocations: 8 kB / 0.7721 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.5942, allocations: 254 kB / 0.7724 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.5956, allocations: 1.166 MB / 0.7735 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.5962, allocations: 250.8 kB / 0.7738 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.5962, allocations: 4 kB / 0.7738 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5963, allocations: 30.56 kB / 0.7738 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.5963, allocations: 0 / 0.7738 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0006555/0.5969, allocations: 323.8 kB / 0.7741 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.597, allocations: 81.11 kB / 0.7742 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.5973, allocations: 287.7 kB / 0.7745 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5973, allocations: 33.7 kB / 0.7745 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.5975, allocations: 196 kB / 0.7747 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.5975, allocations: 51.27 kB / 0.7747 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.5975, allocations: 4 kB / 0.7747 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.5977, allocations: 338.8 kB / 0.775 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.5978, allocations: 95.89 kB / 0.7751 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.598, allocations: 111.4 kB / 0.7752 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5982, allocations: 97.09 kB / 0.7753 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5982, allocations: 0 / 0.7753 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004399/0.5987, allocations: 266.4 kB / 0.7756 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.5988, allocations: 267 kB / 0.7758 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5988, allocations: 4 kB / 0.7759 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5988, allocations: 0 / 0.7759 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.599, allocations: 43.98 kB / 0.7759 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.599, allocations: 0 / 0.7759 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.5992, allocations: 23.83 kB / 0.7759 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.5992, allocations: 11.95 kB / 0.7759 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.5992, allocations: 4 kB / 0.7759 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003021/0.5995, allocations: 181 kB / 0.7761 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.5995, allocations: 0 / 0.7761 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-06/0.5995, allocations: 0 / 0.7761 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5997, allocations: 31.92 kB / 0.7761 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-06/0.5997, allocations: 0 / 0.7761 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.5998, allocations: 23.78 kB / 0.7762 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5998, allocations: 7.938 kB / 0.7762 GB, free: 1.945 MB / 0.5417 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 (actSet.y,actAct.y,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.0001804/0.6, allocations: 237.1 kB / 0.7764 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.6001, allocations: 35.64 kB / 0.7764 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.6001, allocations: 39.22 kB / 0.7765 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6001, allocations: 4 kB / 0.7765 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6001, allocations: 0 / 0.7765 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6002, allocations: 3.984 kB / 0.7765 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.6006, allocations: 405.3 kB / 0.7769 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6006, allocations: 4 kB / 0.7769 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.6008, allocations: 35.92 kB / 0.7769 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.6008, allocations: 3.953 kB / 0.7769 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.6008, allocations: 0 / 0.7769 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6008, allocations: 4 kB / 0.7769 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6008, allocations: 4 kB / 0.7769 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.6015, allocations: 459 kB / 0.7773 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.6016, allocations: 132.6 kB / 0.7775 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.6016, allocations: 7.953 kB / 0.7775 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.6018, allocations: 16 kB / 0.7775 GB, free: 500 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.6018, allocations: 7.984 kB / 0.7775 GB, free: 492 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.6019, allocations: 8.062 kB / 0.7775 GB, free: 484 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002194/0.6021, allocations: 235 kB / 0.7777 GB, free: 248 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6021, allocations: 0 / 0.7777 GB, free: 248 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003789/0.6025, allocations: 95.69 kB / 0.7778 GB, free: 152 kB / 0.5417 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 (actSet.y,actAct.y) * 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.0001126/0.6026, allocations: 95.25 kB / 0.7779 GB, free: 44 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005849/0.6032, allocations: 293.7 kB / 0.7782 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6032, allocations: 0 / 0.7782 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.6034, allocations: 102.3 kB / 0.7783 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.6038, allocations: 75.12 kB / 0.7784 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.6049, allocations: 0.6528 MB / 0.779 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.6052, allocations: 0.7794 MB / 0.7798 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.6054, allocations: 26.28 kB / 0.7798 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.6054, allocations: 23.38 kB / 0.7798 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/0.6054, allocations: 0 / 0.7798 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of Templates: time 0.005955/0.6114, allocations: 2.9 MB / 0.7826 GB, free: 11.19 MB / 0.5573 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)