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.00107/0.00107, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 197 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7466/0.7466, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 58.88 kB / 0.5019 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1372, allocations: 80.2 MB / 0.5802 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003762/0.1411, allocations: 2.611 MB / 0.5827 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1424, allocations: 0.904 MB / 0.5836 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1426, allocations: 11.94 kB / 0.5836 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.1428, allocations: 67.39 kB / 0.5837 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.143, allocations: 67.33 kB / 0.5838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.1434, allocations: 227.7 kB / 0.584 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.1438, allocations: 451.7 kB / 0.5844 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.1442, allocations: 229.1 kB / 0.5846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1443, allocations: 139.4 kB / 0.5848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1445, allocations: 155.1 kB / 0.5849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.1446, allocations: 48 kB / 0.585 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.1446, allocations: 52 kB / 0.585 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.1447, allocations: 91.66 kB / 0.5851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1448, allocations: 187.1 kB / 0.5853 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.1453, allocations: 0.6039 MB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1453, allocations: 0 / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1454, allocations: 4 kB / 0.5859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1454, allocations: 3.938 kB / 0.5859 GB, free: 2.859 MB / 494.1 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.0008758/0.1463, allocations: 0.6429 MB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1463, allocations: 8.031 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/0.1464, allocations: 58.73 kB / 0.5866 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.1464, allocations: 56.36 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.1469, allocations: 383.3 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.1469, allocations: 20.94 kB / 0.587 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.1469, allocations: 24.38 kB / 0.587 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.1475, allocations: 329.5 kB / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1475, allocations: 0 / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.1475, allocations: 8 kB / 0.5873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.1475, allocations: 15.98 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.148, allocations: 238.1 kB / 0.5876 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.1494, allocations: 1.166 MB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.1499, allocations: 226.8 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.1501, allocations: 100.8 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1501, allocations: 7.938 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1502, allocations: 30.56 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1502, allocations: 0 / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006415/0.1508, allocations: 301.2 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1509, allocations: 81.11 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1512, allocations: 336.4 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1512, allocations: 25.7 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1513, allocations: 196.1 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1514, allocations: 47.27 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.1515, allocations: 41.7 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1516, allocations: 342.8 kB / 0.5904 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.1518, allocations: 92.78 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.152, allocations: 117.5 kB / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.1524, allocations: 196.6 kB / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1524, allocations: 3.938 kB / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004446/0.1528, allocations: 251.7 kB / 0.591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1528, allocations: 8 kB / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1528, allocations: 0 / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1529, allocations: 0 / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.153, allocations: 35.98 kB / 0.5911 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1531, allocations: 7.938 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1532, allocations: 35.61 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1532, allocations: 4 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000225/0.1534, allocations: 200.1 kB / 0.5913 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001397/0.1536, allocations: 95.41 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002586/0.1539, allocations: 170.5 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.1539, allocations: 0 / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003475/0.1542, allocations: 226.9 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.1542, allocations: 7.984 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.1542, allocations: 0 / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/0.1543, allocations: 4 kB / 0.5918 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1544, allocations: 28 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.1544, allocations: 0 / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1545, allocations: 27.77 kB / 0.5918 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1545, allocations: 4 kB / 0.5918 GB, free: 12.45 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 9.761e-05/0.1546, allocations: 184.3 kB / 0.592 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.1547, allocations: 31.62 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.1548, allocations: 35.28 kB / 0.5921 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1548, allocations: 0 / 0.5921 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1548, allocations: 3.938 kB / 0.5921 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1548, allocations: 11.98 kB / 0.5921 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.1552, allocations: 401.4 kB / 0.5925 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1552, allocations: 0 / 0.5925 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1554, allocations: 35.92 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1554, allocations: 0 / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1554, allocations: 0 / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1554, allocations: 0 / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1554, allocations: 7.938 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.1561, allocations: 434 kB / 0.5929 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1562, allocations: 132.7 kB / 0.5931 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1562, allocations: 7.938 kB / 0.5931 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1564, allocations: 11.98 kB / 0.5931 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.1564, allocations: 23.84 kB / 0.5931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1565, allocations: 4 kB / 0.5931 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002145/0.1567, allocations: 239.1 kB / 0.5933 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 0.5933 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003875/0.1571, allocations: 87.59 kB / 0.5934 GB, free: 10.75 MB / 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.0008675/0.1579, allocations: 0.9659 MB / 0.5944 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.1585, allocations: 284.9 kB / 0.5946 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1585, allocations: 0 / 0.5946 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1587, allocations: 91.91 kB / 0.5947 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1593, allocations: 104.4 kB / 0.5948 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.163, allocations: 2.937 MB / 0.5977 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1633, allocations: 0.7753 MB / 0.5984 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.1634, allocations: 38.27 kB / 0.5985 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.1636, allocations: 95.41 kB / 0.5986 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.633e-06/0.1636, allocations: 0 / 0.5986 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2292/0.3928, allocations: 6.542 MB / 0.605 GB, free: 55.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.731, allocations: 7.703 kB / 0.605 GB, free: 55.81 MB / 0.4981 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)