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.001188/0.001188, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001294/0.001294, allocations: 187 kB / 17.34 MB, free: 5.762 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.196/1.196, 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-master/package.mo): time 0.716/0.716, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 62.72 kB / 0.5862 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1311, allocations: 80.92 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00358/0.1347, allocations: 2.592 MB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1362, allocations: 0.9116 MB / 0.6687 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.1365, allocations: 11.94 kB / 0.6687 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1367, allocations: 67.33 kB / 0.6688 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1368, allocations: 67.39 kB / 0.6688 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.1373, allocations: 234.7 kB / 0.6691 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.1378, allocations: 459.7 kB / 0.6695 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.1381, allocations: 221.1 kB / 0.6697 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1382, allocations: 147.4 kB / 0.6699 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1384, allocations: 155.1 kB / 0.67 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.1385, allocations: 48 kB / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.295e-05/0.1386, allocations: 52 kB / 0.6701 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.1386, allocations: 87.7 kB / 0.6702 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1388, allocations: 183.1 kB / 0.6704 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.1393, allocations: 0.6268 MB / 0.671 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1393, allocations: 0 / 0.671 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1393, allocations: 0 / 0.671 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.1393, allocations: 0 / 0.671 GB, free: 15.97 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.0008943/0.1402, allocations: 0.6429 MB / 0.6716 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1403, allocations: 9.109 kB / 0.6716 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.1404, allocations: 44.41 kB / 0.6716 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.1408, allocations: 403.1 kB / 0.672 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.1409, allocations: 20.94 kB / 0.672 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.1409, allocations: 32.36 kB / 0.6721 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.1415, allocations: 325.7 kB / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1415, allocations: 0 / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1415, allocations: 16 kB / 0.6724 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1415, allocations: 4 kB / 0.6724 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.142, allocations: 234.1 kB / 0.6726 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.1434, allocations: 1.155 MB / 0.6738 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.1439, allocations: 234.8 kB / 0.674 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.1441, allocations: 100.8 kB / 0.6741 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1441, allocations: 0 / 0.6741 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1441, allocations: 34.56 kB / 0.6741 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.1441, allocations: 4 kB / 0.6741 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0005927/0.1447, allocations: 295.8 kB / 0.6744 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.1448, allocations: 81.11 kB / 0.6745 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.1451, allocations: 336.4 kB / 0.6748 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1452, allocations: 29.7 kB / 0.6748 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1453, allocations: 200 kB / 0.675 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.1454, allocations: 51.27 kB / 0.6751 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.1454, allocations: 37.7 kB / 0.6751 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1456, allocations: 350.8 kB / 0.6754 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1458, allocations: 84.83 kB / 0.6755 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1459, allocations: 117.6 kB / 0.6756 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.1463, allocations: 188.5 kB / 0.6758 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1463, allocations: 0 / 0.6758 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00044/0.1467, allocations: 261.1 kB / 0.6761 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1468, allocations: 5.719 kB / 0.6761 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1468, allocations: 8.047 kB / 0.6761 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1468, allocations: 4 kB / 0.6761 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.147, allocations: 27.98 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.147, allocations: 0 / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1471, allocations: 35.64 kB / 0.6761 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1471, allocations: 8 kB / 0.6761 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002069/0.1473, allocations: 192.1 kB / 0.6763 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001471/0.1475, allocations: 111.3 kB / 0.6764 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002411/0.1478, allocations: 162.5 kB / 0.6766 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.011e-06/0.1478, allocations: 0 / 0.6766 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003314/0.1481, allocations: 223.4 kB / 0.6768 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.1481, allocations: 4 kB / 0.6768 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.1481, allocations: 8.094 kB / 0.6768 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-06/0.1481, allocations: 0 / 0.6768 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1483, allocations: 35.86 kB / 0.6768 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1483, allocations: 4 kB / 0.6768 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1484, allocations: 15.83 kB / 0.6769 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1484, allocations: 11.94 kB / 0.6769 GB, free: 9.609 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 9.956e-05/0.1485, allocations: 188.2 kB / 0.6771 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.1486, allocations: 31.62 kB / 0.6771 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.1486, allocations: 35.28 kB / 0.6771 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1486, allocations: 4 kB / 0.6771 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1486, allocations: 0 / 0.6771 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1487, allocations: 7.938 kB / 0.6771 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.149, allocations: 405.3 kB / 0.6775 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.149, allocations: 4 kB / 0.6775 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1492, allocations: 23.98 kB / 0.6775 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1492, allocations: 0 / 0.6775 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1492, allocations: 11.98 kB / 0.6776 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1492, allocations: 0 / 0.6776 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1493, allocations: 0 / 0.6776 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.1499, allocations: 438.9 kB / 0.678 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.15, allocations: 132.7 kB / 0.6781 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.1501, allocations: 8 kB / 0.6781 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1502, allocations: 7.984 kB / 0.6781 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.1503, allocations: 19.98 kB / 0.6781 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1503, allocations: 4 kB / 0.6781 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000241/0.1505, allocations: 231.1 kB / 0.6784 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1505, allocations: 0 / 0.6784 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003825/0.1509, allocations: 87.69 kB / 0.6784 GB, free: 7.918 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.0001148/0.151, allocations: 108.5 kB / 0.6785 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.1516, allocations: 293.3 kB / 0.6788 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1516, allocations: 0 / 0.6788 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1518, allocations: 95.91 kB / 0.6789 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.1523, allocations: 84.42 kB / 0.679 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1534, allocations: 0.5833 MB / 0.6796 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1538, allocations: 0.7753 MB / 0.6803 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.1538, allocations: 19.44 kB / 0.6803 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1539, allocations: 0 / 0.6803 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of Templates: time 0.006321/0.1602, allocations: 3.981 MB / 0.6842 GB, free: 1.941 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)