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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 174.5 kB / 7.654 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9104/0.9104, allocations: 130.7 MB / 138.7 MB, free: 3.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0008585/0.0008584, allocations: 99.19 kB / 473.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.472e-05/1.474e-05, allocations: 4.219 kB / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4812, allocations: 81.57 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.6446, allocations: 116.2 MB / 0.7416 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.645, allocations: 75.95 kB / 0.7417 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01663/0.6616, allocations: 6.878 MB / 0.7484 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6617, allocations: 0 / 0.7484 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.315e-05/0.6618, allocations: 8 kB / 0.7484 GB, free: 3.605 MB / 0.5261 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.001007/0.6628, allocations: 0.5488 MB / 0.749 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6628, allocations: 8.031 kB / 0.749 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.663, allocations: 47.39 kB / 0.749 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.6637, allocations: 374.8 kB / 0.7494 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.6637, allocations: 12 kB / 0.7494 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.6638, allocations: 16 kB / 0.7494 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004158/0.6642, allocations: 189.1 kB / 0.7496 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.6647, allocations: 264.4 kB / 0.7498 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6647, allocations: 3.938 kB / 0.7499 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.6648, allocations: 0 / 0.7499 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.6648, allocations: 11.95 kB / 0.7499 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.6665, allocations: 1.089 MB / 0.7509 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.6669, allocations: 194.9 kB / 0.7511 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.6671, allocations: 76.86 kB / 0.7512 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.6671, allocations: 7.938 kB / 0.7512 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.6672, allocations: 30.56 kB / 0.7512 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.6672, allocations: 4 kB / 0.7512 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0003953/0.6676, allocations: 189.3 kB / 0.7514 GB, free: 404 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.6676, allocations: 77.39 kB / 0.7515 GB, free: 308 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.6679, allocations: 234.3 kB / 0.7517 GB, free: 68 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.668, allocations: 25.7 kB / 0.7517 GB, free: 36 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.6681, allocations: 200 kB / 0.7519 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.6682, allocations: 55.25 kB / 0.752 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.6682, allocations: 0 / 0.752 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6684, allocations: 334.8 kB / 0.7523 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.6685, allocations: 60 kB / 0.7523 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.6686, allocations: 91.44 kB / 0.7524 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.6688, allocations: 71.98 kB / 0.7525 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6688, allocations: 0 / 0.7525 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003301/0.6691, allocations: 202.5 kB / 0.7527 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.6693, allocations: 280.8 kB / 0.753 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6693, allocations: 0 / 0.753 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.674e-05/0.6694, allocations: 4 kB / 0.753 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.6696, allocations: 35.92 kB / 0.753 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.6696, allocations: 7.938 kB / 0.753 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.6697, allocations: 23.83 kB / 0.753 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.6697, allocations: 8 kB / 0.753 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.6698, allocations: 7.953 kB / 0.753 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002527/0.67, allocations: 139.8 kB / 0.7532 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.67, allocations: 4 kB / 0.7532 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-06/0.67, allocations: 0 / 0.7532 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.6702, allocations: 32.05 kB / 0.7532 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6702, allocations: 3.938 kB / 0.7532 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.6703, allocations: 11.97 kB / 0.7532 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.6703, allocations: 4 kB / 0.7532 GB, free: 14.44 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 () * 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.0001221/0.6704, allocations: 114.6 kB / 0.7533 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.6705, allocations: 31.58 kB / 0.7534 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.912e-05/0.6706, allocations: 30.03 kB / 0.7534 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6706, allocations: 0 / 0.7534 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6706, allocations: 4 kB / 0.7534 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6706, allocations: 3.938 kB / 0.7534 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.6711, allocations: 354 kB / 0.7537 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6711, allocations: 0 / 0.7537 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.6712, allocations: 31.92 kB / 0.7538 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6713, allocations: 0 / 0.7538 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.6713, allocations: 0 / 0.7538 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6713, allocations: 3.953 kB / 0.7538 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6713, allocations: 0 / 0.7538 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.6718, allocations: 381.1 kB / 0.7541 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.672, allocations: 124.8 kB / 0.7543 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.672, allocations: 0 / 0.7543 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.6721, allocations: 11.98 kB / 0.7543 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.6722, allocations: 15.94 kB / 0.7543 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.6722, allocations: 4 kB / 0.7543 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001943/0.6724, allocations: 186 kB / 0.7545 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6724, allocations: 4 kB / 0.7545 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004252/0.6729, allocations: 95.47 kB / 0.7546 GB, free: 13 MB / 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 () * 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.000165/0.673, allocations: 99.23 kB / 0.7547 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.6735, allocations: 243.3 kB / 0.7549 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6735, allocations: 0 / 0.7549 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.6737, allocations: 79.92 kB / 0.755 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.6742, allocations: 73.02 kB / 0.755 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.6751, allocations: 399.7 kB / 0.7554 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.6756, allocations: 0.784 MB / 0.7562 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.6758, allocations: 43.34 kB / 0.7562 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.6759, allocations: 15.44 kB / 0.7562 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of SimCode: time 1.783e-06/0.6759, allocations: 0 / 0.7562 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.006812/0.6827, allocations: 2.905 MB / 0.7591 GB, free: 8.352 MB / 0.5417 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)