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: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008224/0.008225, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001867/0.001867, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7845/0.7845, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 66.34 kB / 0.5808 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1485, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003697/0.1522, allocations: 2.596 MB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1538, allocations: 0.9155 MB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.1541, allocations: 15.88 kB / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1544, allocations: 67.33 kB / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1545, allocations: 63.41 kB / 0.6627 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.155, allocations: 233.2 kB / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.1554, allocations: 451.7 kB / 0.6634 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.1557, allocations: 233.3 kB / 0.6636 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1559, allocations: 151.4 kB / 0.6638 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1561, allocations: 147.2 kB / 0.6639 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.1561, allocations: 48 kB / 0.6639 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.1562, allocations: 59.94 kB / 0.664 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.1562, allocations: 91.64 kB / 0.6641 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1564, allocations: 187.1 kB / 0.6643 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.1569, allocations: 0.6227 MB / 0.6649 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1569, allocations: 0 / 0.6649 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1569, allocations: 0 / 0.6649 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1569, allocations: 0 / 0.6649 GB, free: 8.125 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.0008713/0.1578, allocations: 0.6582 MB / 0.6655 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1579, allocations: 11.97 kB / 0.6655 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.1579, allocations: 62.67 kB / 0.6656 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.158, allocations: 44.66 kB / 0.6656 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.1586, allocations: 387.5 kB / 0.666 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.1586, allocations: 24.94 kB / 0.666 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.1587, allocations: 28.38 kB / 0.6661 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.1593, allocations: 329.5 kB / 0.6664 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1593, allocations: 0 / 0.6664 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.1593, allocations: 12 kB / 0.6664 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.1593, allocations: 8 kB / 0.6664 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.1598, allocations: 234.1 kB / 0.6666 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1612, allocations: 1.163 MB / 0.6677 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.1617, allocations: 230.8 kB / 0.668 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1619, allocations: 100.8 kB / 0.6681 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1619, allocations: 0 / 0.6681 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1619, allocations: 38.5 kB / 0.6681 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1619, allocations: 0 / 0.6681 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006328/0.1626, allocations: 297.4 kB / 0.6684 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1626, allocations: 85.11 kB / 0.6685 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.163, allocations: 324.5 kB / 0.6688 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.163, allocations: 33.7 kB / 0.6688 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1632, allocations: 200.3 kB / 0.669 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1632, allocations: 55.53 kB / 0.6691 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.1633, allocations: 41.7 kB / 0.6691 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1634, allocations: 338.8 kB / 0.6694 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1636, allocations: 100.8 kB / 0.6695 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1638, allocations: 117.6 kB / 0.6696 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1642, allocations: 186.6 kB / 0.6698 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1642, allocations: 0 / 0.6698 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004451/0.1646, allocations: 263.5 kB / 0.6701 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1647, allocations: 4 kB / 0.6701 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1647, allocations: 0 / 0.6701 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1647, allocations: 4 kB / 0.6701 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1649, allocations: 35.86 kB / 0.6701 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1649, allocations: 11.94 kB / 0.6701 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1651, allocations: 31.83 kB / 0.6701 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1651, allocations: 4 kB / 0.6701 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002226/0.1653, allocations: 192.1 kB / 0.6703 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001406/0.1655, allocations: 99.41 kB / 0.6704 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002447/0.1657, allocations: 172 kB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-06/0.1657, allocations: 3.984 kB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003612/0.1661, allocations: 225.3 kB / 0.6708 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1661, allocations: 8 kB / 0.6708 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.1661, allocations: 0 / 0.6708 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.1661, allocations: 0 / 0.6708 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1663, allocations: 31.92 kB / 0.6708 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.1663, allocations: 4.062 kB / 0.6708 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1664, allocations: 23.88 kB / 0.6709 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1664, allocations: 4 kB / 0.6709 GB, free: 1.691 MB / 0.4981 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.0001534/0.1666, allocations: 184.3 kB / 0.671 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1666, allocations: 27.81 kB / 0.6711 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.904e-05/0.1667, allocations: 35.28 kB / 0.6711 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1668, allocations: 7.938 kB / 0.6711 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.1668, allocations: 3.938 kB / 0.6711 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1668, allocations: 0 / 0.6711 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.1673, allocations: 413.3 kB / 0.6715 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1673, allocations: 0 / 0.6715 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1675, allocations: 23.98 kB / 0.6715 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.1675, allocations: 4 kB / 0.6715 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1675, allocations: 4 kB / 0.6715 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1675, allocations: 0 / 0.6715 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1675, allocations: 3.938 kB / 0.6715 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.1683, allocations: 443.7 kB / 0.672 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1684, allocations: 136.9 kB / 0.6721 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.1684, allocations: 4 kB / 0.6721 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1686, allocations: 15.98 kB / 0.6721 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.1687, allocations: 11.94 kB / 0.6721 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1687, allocations: 7.984 kB / 0.6721 GB, free: 316 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002283/0.1689, allocations: 231.1 kB / 0.6724 GB, free: 84 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1689, allocations: 8 kB / 0.6724 GB, free: 76 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004029/0.1693, allocations: 95.86 kB / 0.6725 GB, free: 15.98 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.000926/0.1703, allocations: 0.9678 MB / 0.6734 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005801/0.1709, allocations: 279.8 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1709, allocations: 0 / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1711, allocations: 103.2 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.1717, allocations: 89.38 kB / 0.6738 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.1753, allocations: 2.933 MB / 0.6767 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1756, allocations: 0.7753 MB / 0.6775 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.1758, allocations: 30.28 kB / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.176, allocations: 95.41 kB / 0.6776 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.176, allocations: 0 / 0.6776 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.2003, allocations: 6.679 MB / 0.6841 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.173, allocations: 4.375 kB / 0.6841 GB, free: 4.059 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)