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.0011/0.0011, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001063/0.001063, allocations: 187 kB / 17.34 MB, free: 5.742 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.758/0.758, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 69.38 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003634/0.1428, allocations: 2.603 MB / 0.6678 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1444, allocations: 0.9155 MB / 0.6687 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.1446, allocations: 11.94 kB / 0.6687 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1448, allocations: 63.39 kB / 0.6688 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.145, allocations: 67.39 kB / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.1456, allocations: 235.7 kB / 0.6691 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.1461, allocations: 455.7 kB / 0.6695 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.1465, allocations: 221.1 kB / 0.6697 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1467, allocations: 151.4 kB / 0.6699 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1468, allocations: 151.1 kB / 0.67 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.1469, allocations: 52 kB / 0.6701 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.316e-05/0.147, allocations: 48 kB / 0.6701 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.1471, allocations: 87.7 kB / 0.6702 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1472, allocations: 191.1 kB / 0.6704 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.1478, allocations: 0.6228 MB / 0.671 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1478, allocations: 0 / 0.671 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.707e-06/0.1478, allocations: 0 / 0.671 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.1479, allocations: 7.938 kB / 0.671 GB, free: 15.92 MB / 0.5137 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.001044/0.1489, allocations: 0.639 MB / 0.6716 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.149, allocations: 17.11 kB / 0.6716 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.265e-05/0.1491, allocations: 44.47 kB / 0.6717 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.1496, allocations: 387.2 kB / 0.672 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1496, allocations: 20.94 kB / 0.6721 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.1497, allocations: 28.38 kB / 0.6721 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.1502, allocations: 329.7 kB / 0.6724 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1502, allocations: 0 / 0.6724 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.1503, allocations: 12 kB / 0.6724 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1503, allocations: 8 kB / 0.6724 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.1507, allocations: 234.1 kB / 0.6726 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.1521, allocations: 1.155 MB / 0.6738 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.1526, allocations: 242.2 kB / 0.674 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.1528, allocations: 96.77 kB / 0.6741 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1528, allocations: 4 kB / 0.6741 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1528, allocations: 38.56 kB / 0.6741 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.1528, allocations: 0 / 0.6741 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0006324/0.1535, allocations: 293.2 kB / 0.6744 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1535, allocations: 81.11 kB / 0.6745 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.1539, allocations: 328.4 kB / 0.6748 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1539, allocations: 33.7 kB / 0.6748 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1541, allocations: 204 kB / 0.675 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.1541, allocations: 51.2 kB / 0.6751 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.1542, allocations: 41.7 kB / 0.6751 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1543, allocations: 338.8 kB / 0.6754 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.1546, allocations: 92.81 kB / 0.6755 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.1548, allocations: 117.8 kB / 0.6756 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.1551, allocations: 186.5 kB / 0.6758 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1551, allocations: 0 / 0.6758 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004335/0.1556, allocations: 263 kB / 0.6761 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1556, allocations: 4 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1556, allocations: 4 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1556, allocations: 3.938 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1558, allocations: 27.98 kB / 0.6761 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1558, allocations: 4 kB / 0.6761 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.156, allocations: 31.7 kB / 0.6761 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.156, allocations: 8.062 kB / 0.6761 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00022/0.1562, allocations: 192.1 kB / 0.6763 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001409/0.1564, allocations: 111.2 kB / 0.6764 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002808/0.1567, allocations: 168.2 kB / 0.6766 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.1567, allocations: 8.031 kB / 0.6766 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003604/0.157, allocations: 215.3 kB / 0.6768 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.1571, allocations: 8 kB / 0.6768 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.1571, allocations: 0 / 0.6768 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.1571, allocations: 0 / 0.6768 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1572, allocations: 35.92 kB / 0.6769 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.1572, allocations: 0 / 0.6769 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1573, allocations: 19.83 kB / 0.6769 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1573, allocations: 12 kB / 0.6769 GB, free: 9.574 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.0001048/0.1575, allocations: 192.2 kB / 0.6771 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.1575, allocations: 27.62 kB / 0.6771 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.1576, allocations: 35.28 kB / 0.6771 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1576, allocations: 4 kB / 0.6771 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1576, allocations: 0 / 0.6771 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1576, allocations: 7.938 kB / 0.6771 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.158, allocations: 405.3 kB / 0.6775 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.158, allocations: 0 / 0.6775 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1582, allocations: 31.98 kB / 0.6776 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1582, allocations: 0 / 0.6776 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1582, allocations: 4 kB / 0.6776 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1582, allocations: 3.984 kB / 0.6776 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1582, allocations: 3.984 kB / 0.6776 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.1589, allocations: 441.9 kB / 0.678 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.159, allocations: 140.7 kB / 0.6781 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.1591, allocations: 4 kB / 0.6781 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1592, allocations: 11.98 kB / 0.6781 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1593, allocations: 15.92 kB / 0.6782 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1593, allocations: 4 kB / 0.6782 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002093/0.1595, allocations: 235 kB / 0.6784 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1595, allocations: 0 / 0.6784 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003754/0.1599, allocations: 87.69 kB / 0.6785 GB, free: 7.871 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.16, allocations: 108.6 kB / 0.6786 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000548/0.1605, allocations: 279.7 kB / 0.6788 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1606, allocations: 4 kB / 0.6788 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1608, allocations: 91.91 kB / 0.6789 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.1613, allocations: 85.92 kB / 0.679 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.1623, allocations: 0.58 MB / 0.6796 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1626, allocations: 0.7753 MB / 0.6803 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.1627, allocations: 23.44 kB / 0.6804 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1627, allocations: 0 / 0.6804 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of Templates: time 0.005597/0.1683, allocations: 3.992 MB / 0.6843 GB, free: 1.895 MB / 0.5137 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)