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.001079/0.001079, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001026/0.001026, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 58.75 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1357, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003859/0.1396, allocations: 2.603 MB / 0.6629 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1412, allocations: 0.9193 MB / 0.6638 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.1414, allocations: 8 kB / 0.6638 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1417, allocations: 67.33 kB / 0.6638 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1419, allocations: 67.41 kB / 0.6639 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.1424, allocations: 227.7 kB / 0.6641 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.1429, allocations: 455.7 kB / 0.6645 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.1433, allocations: 237 kB / 0.6648 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.1435, allocations: 143.4 kB / 0.6649 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1437, allocations: 147.2 kB / 0.665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.1438, allocations: 52 kB / 0.6651 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.1438, allocations: 48 kB / 0.6651 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.1439, allocations: 99.64 kB / 0.6652 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1441, allocations: 187 kB / 0.6654 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.1447, allocations: 0.6149 MB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1447, allocations: 8 kB / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1447, allocations: 3.938 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.1447, allocations: 0 / 0.666 GB, free: 4.398 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.0009746/0.1457, allocations: 0.6581 MB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1458, allocations: 12.03 kB / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.1459, allocations: 48.66 kB / 0.6667 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.1464, allocations: 387.5 kB / 0.6671 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1464, allocations: 16.94 kB / 0.6671 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1464, allocations: 32.38 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.1471, allocations: 325.7 kB / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1471, allocations: 4 kB / 0.6675 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.1471, allocations: 8 kB / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1471, allocations: 8 kB / 0.6675 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1476, allocations: 234.1 kB / 0.6677 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1491, allocations: 1.163 MB / 0.6688 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.1496, allocations: 226.8 kB / 0.669 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.1498, allocations: 104.8 kB / 0.6691 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1498, allocations: 4 kB / 0.6691 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1498, allocations: 34.56 kB / 0.6692 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1498, allocations: 0 / 0.6692 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006734/0.1505, allocations: 297.4 kB / 0.6695 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1506, allocations: 81.11 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.1509, allocations: 328.5 kB / 0.6699 GB, free: 264 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1509, allocations: 25.7 kB / 0.6699 GB, free: 232 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1511, allocations: 204.3 kB / 0.6701 GB, free: 24 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.1511, allocations: 55.7 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.1512, allocations: 41.7 kB / 0.6702 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1513, allocations: 350.6 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1515, allocations: 88.72 kB / 0.6706 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1517, allocations: 120.8 kB / 0.6707 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.1521, allocations: 188.1 kB / 0.6709 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1521, allocations: 0 / 0.6709 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004686/0.1526, allocations: 255.4 kB / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1526, allocations: 8 kB / 0.6711 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1526, allocations: 15.8 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1526, allocations: 0 / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1528, allocations: 27.98 kB / 0.6712 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1529, allocations: 4 kB / 0.6712 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.153, allocations: 31.77 kB / 0.6712 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.153, allocations: 8 kB / 0.6712 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002489/0.1533, allocations: 201.1 kB / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001515/0.1534, allocations: 102.2 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002621/0.1537, allocations: 168.3 kB / 0.6717 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.1537, allocations: 0 / 0.6717 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000365/0.1541, allocations: 233.3 kB / 0.6719 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.1541, allocations: 4 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.1541, allocations: 0 / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.1541, allocations: 4 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1543, allocations: 27.92 kB / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.1543, allocations: 0 / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1544, allocations: 15.95 kB / 0.6719 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1544, allocations: 7.938 kB / 0.6719 GB, free: 14.04 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.0001089/0.1545, allocations: 200.2 kB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.1546, allocations: 27.81 kB / 0.6722 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.839e-05/0.1547, allocations: 31.28 kB / 0.6722 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1547, allocations: 7.984 kB / 0.6722 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1547, allocations: 0 / 0.6722 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1548, allocations: 140.7 kB / 0.6723 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.1549, allocations: 8 kB / 0.6723 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.155, allocations: 11.98 kB / 0.6724 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1551, allocations: 4 kB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005845/0.1557, allocations: 306.4 kB / 0.6726 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007116/0.1564, allocations: 0.5196 MB / 0.6732 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001832/0.1566, allocations: 93.95 kB / 0.6732 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002202/0.1568, allocations: 231.1 kB / 0.6735 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of Backend: time 5.01e-07/0.1568, allocations: 0 / 0.6735 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.1575, allocations: 289.2 kB / 0.6737 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001149/0.1587, allocations: 1.025 MB / 0.6747 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.007836/0.1665, allocations: 4.296 MB / 0.6789 GB, free: 6.816 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)