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.007767/0.007767, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.002049/0.002049, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.62 kB / 0.5808 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1807, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004259/0.185, allocations: 2.593 MB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1869, allocations: 0.9232 MB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.1871, allocations: 11.94 kB / 0.6626 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.1874, allocations: 63.33 kB / 0.6627 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.1876, allocations: 63.41 kB / 0.6627 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.1881, allocations: 237.8 kB / 0.663 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.1886, allocations: 451.7 kB / 0.6634 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.1889, allocations: 221.4 kB / 0.6636 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1891, allocations: 147.4 kB / 0.6637 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1893, allocations: 147.2 kB / 0.6639 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.1894, allocations: 52 kB / 0.6639 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.898e-05/0.1894, allocations: 48 kB / 0.664 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.1895, allocations: 99.62 kB / 0.6641 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.1897, allocations: 187.1 kB / 0.6643 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.1904, allocations: 0.6227 MB / 0.6649 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1904, allocations: 0 / 0.6649 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.156e-06/0.1904, allocations: 0 / 0.6649 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1904, allocations: 3.938 kB / 0.6649 GB, free: 8.172 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.0009915/0.1914, allocations: 0.662 MB / 0.6655 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1915, allocations: 8.031 kB / 0.6655 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/0.1915, allocations: 62.72 kB / 0.6656 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.1916, allocations: 48.64 kB / 0.6656 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.1922, allocations: 395.5 kB / 0.666 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1922, allocations: 20.94 kB / 0.666 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1923, allocations: 24.38 kB / 0.666 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.1929, allocations: 325.5 kB / 0.6664 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1929, allocations: 0 / 0.6664 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.1929, allocations: 16 kB / 0.6664 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.1929, allocations: 4 kB / 0.6664 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.1934, allocations: 238.1 kB / 0.6666 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.195, allocations: 1.159 MB / 0.6677 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.1956, allocations: 237.5 kB / 0.668 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1958, allocations: 96.83 kB / 0.6681 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.1958, allocations: 3.984 kB / 0.6681 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.1959, allocations: 38.56 kB / 0.6681 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.1959, allocations: 0 / 0.6681 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006984/0.1966, allocations: 300.5 kB / 0.6684 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.1966, allocations: 77.11 kB / 0.6685 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.197, allocations: 336.4 kB / 0.6688 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1971, allocations: 29.7 kB / 0.6688 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1972, allocations: 196.3 kB / 0.669 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.1973, allocations: 59.52 kB / 0.669 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.1974, allocations: 41.64 kB / 0.6691 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.1976, allocations: 350.8 kB / 0.6694 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1978, allocations: 92.72 kB / 0.6695 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.198, allocations: 117.8 kB / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.1984, allocations: 188.6 kB / 0.6698 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1984, allocations: 3.938 kB / 0.6698 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004854/0.1989, allocations: 257.3 kB / 0.67 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1989, allocations: 6.5 kB / 0.6701 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.199, allocations: 8 kB / 0.6701 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.199, allocations: 4 kB / 0.6701 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1992, allocations: 27.98 kB / 0.6701 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1992, allocations: 3.938 kB / 0.6701 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1993, allocations: 31.83 kB / 0.6701 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1993, allocations: 4 kB / 0.6701 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002552/0.1996, allocations: 192.1 kB / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001687/0.1998, allocations: 107.3 kB / 0.6704 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002757/0.2001, allocations: 162.5 kB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.2001, allocations: 0 / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003668/0.2004, allocations: 227.4 kB / 0.6708 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.2005, allocations: 4 kB / 0.6708 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2005, allocations: 12.09 kB / 0.6708 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.2005, allocations: 3.984 kB / 0.6708 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2006, allocations: 31.94 kB / 0.6708 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.2006, allocations: 0 / 0.6708 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2007, allocations: 15.88 kB / 0.6709 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2008, allocations: 8 kB / 0.6709 GB, free: 1.738 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.0001309/0.2009, allocations: 188.2 kB / 0.671 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.201, allocations: 31.81 kB / 0.6711 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.201, allocations: 35.28 kB / 0.6711 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.201, allocations: 4 kB / 0.6711 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.2011, allocations: 7.938 kB / 0.6711 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2011, allocations: 0 / 0.6711 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.2015, allocations: 409.3 kB / 0.6715 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2015, allocations: 0 / 0.6715 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.2017, allocations: 23.98 kB / 0.6715 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2017, allocations: 3.984 kB / 0.6715 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2018, allocations: 8 kB / 0.6715 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2018, allocations: 0 / 0.6715 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2018, allocations: 3.938 kB / 0.6715 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.2025, allocations: 435.2 kB / 0.672 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2026, allocations: 132.9 kB / 0.6721 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.2027, allocations: 8 kB / 0.6721 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2028, allocations: 7.984 kB / 0.6721 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.2029, allocations: 23.98 kB / 0.6721 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2029, allocations: 7.875 kB / 0.6721 GB, free: 356 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002659/0.2032, allocations: 231.1 kB / 0.6724 GB, free: 124 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2032, allocations: 0 / 0.6724 GB, free: 124 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004044/0.2036, allocations: 95.67 kB / 0.6724 GB, free: 28 kB / 0.4981 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.001127/0.2047, allocations: 0.9661 MB / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006792/0.2054, allocations: 279.8 kB / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2054, allocations: 0 / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.2057, allocations: 103.5 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.2063, allocations: 91.23 kB / 0.6738 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.2106, allocations: 2.928 MB / 0.6767 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.2111, allocations: 0.7792 MB / 0.6775 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.2113, allocations: 26.22 kB / 0.6775 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.2114, allocations: 103.4 kB / 0.6776 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of SimCode: time 2.796e-06/0.2115, allocations: 0 / 0.6776 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.2414, allocations: 6.672 MB / 0.6841 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.449, allocations: 11.44 kB / 0.6841 GB, free: 4.102 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)