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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 114.1 kB / 16.42 MB, free: 6.461 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.001436/0.001436, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7852/0.7852, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 65.53 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 80.21 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003755/0.1325, allocations: 2.592 MB / 0.6628 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1342, allocations: 0.9155 MB / 0.6637 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.1344, allocations: 15.88 kB / 0.6638 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.1347, allocations: 63.39 kB / 0.6638 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1349, allocations: 71.39 kB / 0.6639 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1354, allocations: 234.2 kB / 0.6641 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.1359, allocations: 459.7 kB / 0.6645 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.1362, allocations: 225.1 kB / 0.6648 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1364, allocations: 147.4 kB / 0.6649 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1366, allocations: 151.1 kB / 0.665 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.1367, allocations: 55.94 kB / 0.6651 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1367, allocations: 48 kB / 0.6651 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.1368, allocations: 91.7 kB / 0.6652 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.137, allocations: 187 kB / 0.6654 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.1375, allocations: 0.6152 MB / 0.666 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1375, allocations: 4 kB / 0.666 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1375, allocations: 0 / 0.666 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.1376, allocations: 4 kB / 0.666 GB, free: 4.527 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.0009111/0.1385, allocations: 0.6429 MB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1385, allocations: 15.97 kB / 0.6667 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.1386, allocations: 40.47 kB / 0.6667 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.1391, allocations: 391.2 kB / 0.6671 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.1391, allocations: 20.94 kB / 0.6671 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.1392, allocations: 32.38 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.1398, allocations: 329.7 kB / 0.6674 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1398, allocations: 7.984 kB / 0.6674 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.1398, allocations: 8 kB / 0.6674 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1399, allocations: 8 kB / 0.6675 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.1403, allocations: 234.2 kB / 0.6677 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.1418, allocations: 1.151 MB / 0.6688 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.1423, allocations: 234.8 kB / 0.669 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.1425, allocations: 100.8 kB / 0.6691 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1425, allocations: 4 kB / 0.6691 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1426, allocations: 30.56 kB / 0.6692 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.1426, allocations: 0 / 0.6692 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006531/0.1432, allocations: 303.8 kB / 0.6694 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1433, allocations: 81.11 kB / 0.6695 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.1436, allocations: 328.5 kB / 0.6698 GB, free: 408 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1436, allocations: 29.7 kB / 0.6699 GB, free: 372 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1438, allocations: 196 kB / 0.6701 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.1438, allocations: 51.25 kB / 0.6701 GB, free: 120 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.1439, allocations: 45.7 kB / 0.6701 GB, free: 68 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1441, allocations: 346.8 kB / 0.6705 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.1443, allocations: 84.83 kB / 0.6706 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1445, allocations: 119.4 kB / 0.6707 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.1448, allocations: 192.1 kB / 0.6709 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1449, allocations: 0 / 0.6709 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004775/0.1453, allocations: 251.3 kB / 0.6711 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1454, allocations: 12.05 kB / 0.6711 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1454, allocations: 4 kB / 0.6711 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1454, allocations: 0 / 0.6711 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.1456, allocations: 39.91 kB / 0.6711 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1456, allocations: 11.88 kB / 0.6712 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1457, allocations: 27.7 kB / 0.6712 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1458, allocations: 4 kB / 0.6712 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000239/0.146, allocations: 201 kB / 0.6714 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001526/0.1462, allocations: 109.4 kB / 0.6715 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002617/0.1464, allocations: 162.5 kB / 0.6716 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.1465, allocations: 0 / 0.6716 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003648/0.1468, allocations: 227.1 kB / 0.6719 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.1468, allocations: 8.094 kB / 0.6719 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.1468, allocations: 0 / 0.6719 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/0.1469, allocations: 4 kB / 0.6719 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.147, allocations: 23.98 kB / 0.6719 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.147, allocations: 0 / 0.6719 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1471, allocations: 19.84 kB / 0.6719 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1471, allocations: 4 kB / 0.6719 GB, free: 14.19 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.0001125/0.1473, allocations: 200.1 kB / 0.6721 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.1473, allocations: 27.62 kB / 0.6721 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.1474, allocations: 35.28 kB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1474, allocations: 4 kB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1474, allocations: 0 / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1475, allocations: 132.6 kB / 0.6723 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1476, allocations: 12 kB / 0.6723 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.1477, allocations: 11.98 kB / 0.6723 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.1478, allocations: 7.984 kB / 0.6723 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005919/0.1484, allocations: 304.8 kB / 0.6726 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007147/0.1491, allocations: 0.5127 MB / 0.6731 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001858/0.1493, allocations: 96.05 kB / 0.6732 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002313/0.1496, allocations: 235.1 kB / 0.6734 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of Backend: time 4.91e-07/0.1496, allocations: 0 / 0.6734 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.1503, allocations: 287.8 kB / 0.6737 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001154/0.1514, allocations: 1.008 MB / 0.6747 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.008061/0.1595, allocations: 4.299 MB / 0.6789 GB, free: 6.988 MB / 0.5137 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)