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.001128/0.001128, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.694/0.694, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 101 kB / 484.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 51.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1298, allocations: 80.21 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003899/0.1337, allocations: 2.634 MB / 0.6427 GB, free: 4.148 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1353, allocations: 0.8844 MB / 0.6436 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.1357, allocations: 8 kB / 0.6436 GB, free: 3.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.136, allocations: 51.58 kB / 0.6437 GB, free: 3.199 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1363, allocations: 51.59 kB / 0.6437 GB, free: 3.148 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.137, allocations: 217.1 kB / 0.6439 GB, free: 2.938 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.1376, allocations: 411.6 kB / 0.6443 GB, free: 2.531 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.1381, allocations: 217.1 kB / 0.6445 GB, free: 2.312 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.1383, allocations: 107.4 kB / 0.6446 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1385, allocations: 139.1 kB / 0.6448 GB, free: 2.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.1386, allocations: 16 kB / 0.6448 GB, free: 2.055 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.1386, allocations: 16 kB / 0.6448 GB, free: 2.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.1387, allocations: 51.72 kB / 0.6448 GB, free: 1.988 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1388, allocations: 159 kB / 0.645 GB, free: 1.832 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.1394, allocations: 0.5688 MB / 0.6455 GB, free: 1.262 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1394, allocations: 0 / 0.6455 GB, free: 1.262 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1394, allocations: 0 / 0.6455 GB, free: 1.262 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.1395, allocations: 0 / 0.6455 GB, free: 1.262 MB / 442.7 MB 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.001121/0.1406, allocations: 0.6546 MB / 0.6462 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1406, allocations: 12.03 kB / 0.6462 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.1407, allocations: 40.47 kB / 0.6462 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.1412, allocations: 371.3 kB / 0.6466 GB, free: 108 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1412, allocations: 24.88 kB / 0.6466 GB, free: 84 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.1413, allocations: 32.38 kB / 0.6466 GB, free: 52 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.1418, allocations: 325.8 kB / 0.647 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1419, allocations: 0 / 0.647 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.1419, allocations: 12 kB / 0.647 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1419, allocations: 8 kB / 0.647 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.1424, allocations: 234.1 kB / 0.6472 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1439, allocations: 1.178 MB / 0.6483 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.1444, allocations: 228.5 kB / 0.6486 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.1446, allocations: 104.8 kB / 0.6487 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1447, allocations: 0 / 0.6487 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1447, allocations: 38.56 kB / 0.6487 GB, free: 13.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1447, allocations: 0 / 0.6487 GB, free: 13.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006555/0.1454, allocations: 298.9 kB / 0.649 GB, free: 13.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1454, allocations: 77.11 kB / 0.6491 GB, free: 13.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1458, allocations: 328.5 kB / 0.6494 GB, free: 13.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1458, allocations: 29.7 kB / 0.6494 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.146, allocations: 204 kB / 0.6496 GB, free: 12.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.146, allocations: 55.2 kB / 0.6496 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.1461, allocations: 37.7 kB / 0.6497 GB, free: 12.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1463, allocations: 342.8 kB / 0.65 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1465, allocations: 88.77 kB / 0.6501 GB, free: 12.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1467, allocations: 121.1 kB / 0.6502 GB, free: 12.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.147, allocations: 187.6 kB / 0.6504 GB, free: 12.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1471, allocations: 0 / 0.6504 GB, free: 12.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004715/0.1475, allocations: 258.9 kB / 0.6506 GB, free: 11.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1476, allocations: 7.984 kB / 0.6506 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1476, allocations: 3.938 kB / 0.6506 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1476, allocations: 4 kB / 0.6507 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1478, allocations: 27.98 kB / 0.6507 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1478, allocations: 0 / 0.6507 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1479, allocations: 35.7 kB / 0.6507 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.148, allocations: 4 kB / 0.6507 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002343/0.1482, allocations: 200.1 kB / 0.6509 GB, free: 11.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001503/0.1484, allocations: 107.4 kB / 0.651 GB, free: 11.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002671/0.1486, allocations: 160.4 kB / 0.6512 GB, free: 11.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1487, allocations: 0 / 0.6512 GB, free: 11.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003668/0.149, allocations: 233.2 kB / 0.6514 GB, free: 10.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.1491, allocations: 5.25 kB / 0.6514 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1491, allocations: 4 kB / 0.6514 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-06/0.1491, allocations: 3.938 kB / 0.6514 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1492, allocations: 31.92 kB / 0.6514 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.1492, allocations: 0 / 0.6514 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1493, allocations: 15.84 kB / 0.6514 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1494, allocations: 7.938 kB / 0.6514 GB, free: 10.92 MB / 458.7 MB 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.0001188/0.1495, allocations: 197.6 kB / 0.6516 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.1495, allocations: 35.62 kB / 0.6517 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.1496, allocations: 31.28 kB / 0.6517 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1497, allocations: 4 kB / 0.6517 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1497, allocations: 4 kB / 0.6517 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1497, allocations: 3.938 kB / 0.6517 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.1501, allocations: 405.4 kB / 0.6521 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1501, allocations: 0 / 0.6521 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1503, allocations: 23.98 kB / 0.6521 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1503, allocations: 4 kB / 0.6521 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1503, allocations: 4 kB / 0.6521 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1503, allocations: 0 / 0.6521 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1503, allocations: 0 / 0.6521 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/0.1542, allocations: 2.483 MB / 0.6546 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1543, allocations: 136.6 kB / 0.6547 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1544, allocations: 16 kB / 0.6547 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1545, allocations: 7.984 kB / 0.6547 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.1546, allocations: 15.98 kB / 0.6547 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1546, allocations: 0 / 0.6547 GB, free: 7.348 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.1549, allocations: 235.1 kB / 0.6549 GB, free: 7.117 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1549, allocations: 0 / 0.6549 GB, free: 7.117 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005886/0.1555, allocations: 127.6 kB / 0.6551 GB, free: 6.992 MB / 458.7 MB 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.0001206/0.1556, allocations: 103.2 kB / 0.6552 GB, free: 6.883 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000578/0.1562, allocations: 285.6 kB / 0.6554 GB, free: 6.605 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1562, allocations: 0 / 0.6554 GB, free: 6.605 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1564, allocations: 98.28 kB / 0.6555 GB, free: 6.512 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.157, allocations: 83.47 kB / 0.6556 GB, free: 6.434 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1582, allocations: 0.852 MB / 0.6564 GB, free: 5.539 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1586, allocations: 0.7758 MB / 0.6572 GB, free: 4.734 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.1587, allocations: 30.28 kB / 0.6572 GB, free: 4.703 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.1588, allocations: 23.44 kB / 0.6573 GB, free: 4.68 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1588, allocations: 0 / 0.6573 GB, free: 4.68 MB / 458.7 MB Notification: Performance of Templates: time 0.006717/0.1655, allocations: 3.625 MB / 0.6608 GB, free: 1.086 MB / 458.7 MB 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)