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: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001747/0.001747, allocations: 195.2 kB / 16.14 MB, free: 6.66 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.8 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004089/0.1753, allocations: 2.635 MB / 0.5864 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1769, allocations: 0.8651 MB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.1772, allocations: 11.94 kB / 0.5872 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1775, allocations: 51.58 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1776, allocations: 43.66 kB / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1781, allocations: 226.9 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.1785, allocations: 403.6 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.1788, allocations: 217.1 kB / 0.5881 GB, free: 472 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.179, allocations: 119.4 kB / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1791, allocations: 127.1 kB / 0.5884 GB, free: 224 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1791, allocations: 16 kB / 0.5884 GB, free: 208 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.28e-05/0.1792, allocations: 16 kB / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1792, allocations: 55.7 kB / 0.5885 GB, free: 136 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1794, allocations: 147.2 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.1798, allocations: 0.5803 MB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1799, allocations: 0 / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1799, allocations: 0 / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1799, allocations: 0 / 0.5892 GB, free: 15.41 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.0009629/0.1808, allocations: 0.6546 MB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1809, allocations: 8.031 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.218e-05/0.181, allocations: 62.72 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.181, allocations: 48.31 kB / 0.5899 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.1815, allocations: 371.4 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.1815, allocations: 28.94 kB / 0.5903 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.1816, allocations: 24.38 kB / 0.5903 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.1823, allocations: 333.5 kB / 0.5906 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1824, allocations: 0 / 0.5906 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.1824, allocations: 8 kB / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1824, allocations: 8 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.1829, allocations: 238.1 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1844, allocations: 1.17 MB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.1849, allocations: 230.8 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.1851, allocations: 96.88 kB / 0.5923 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.1851, allocations: 11.92 kB / 0.5923 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1852, allocations: 38.5 kB / 0.5924 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.1852, allocations: 0 / 0.5924 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0007178/0.1859, allocations: 289.2 kB / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.186, allocations: 81.11 kB / 0.5927 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1863, allocations: 336.4 kB / 0.5931 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1863, allocations: 29.7 kB / 0.5931 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1865, allocations: 200.1 kB / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.1865, allocations: 51.25 kB / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.1866, allocations: 41.7 kB / 0.5934 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1867, allocations: 338.8 kB / 0.5937 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1869, allocations: 88.83 kB / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.1872, allocations: 127.3 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.1875, allocations: 193.1 kB / 0.5941 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1875, allocations: 0 / 0.5941 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004476/0.188, allocations: 245.2 kB / 0.5943 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.188, allocations: 8 kB / 0.5943 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.188, allocations: 0 / 0.5943 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.188, allocations: 0 / 0.5943 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.1882, allocations: 39.91 kB / 0.5944 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1882, allocations: 7.938 kB / 0.5944 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1884, allocations: 27.75 kB / 0.5944 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1884, allocations: 8 kB / 0.5944 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002384/0.1886, allocations: 200 kB / 0.5946 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001531/0.1888, allocations: 101.5 kB / 0.5947 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002551/0.1891, allocations: 168.7 kB / 0.5949 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.1891, allocations: 0 / 0.5949 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003596/0.1894, allocations: 229.1 kB / 0.5951 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.1895, allocations: 4 kB / 0.5951 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1895, allocations: 0 / 0.5951 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.1895, allocations: 7.938 kB / 0.5951 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1896, allocations: 31.92 kB / 0.5951 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.1896, allocations: 0 / 0.5951 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1897, allocations: 23.84 kB / 0.5951 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1897, allocations: 8 kB / 0.5951 GB, free: 8.977 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.0001203/0.1899, allocations: 184.3 kB / 0.5953 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.1899, allocations: 27.62 kB / 0.5953 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/0.19, allocations: 43.27 kB / 0.5954 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.19, allocations: 0 / 0.5954 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.19, allocations: 3.938 kB / 0.5954 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.19, allocations: 0 / 0.5954 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1905, allocations: 405.3 kB / 0.5958 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1905, allocations: 4 kB / 0.5958 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1906, allocations: 27.98 kB / 0.5958 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1907, allocations: 0 / 0.5958 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1907, allocations: 4 kB / 0.5958 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1907, allocations: 0 / 0.5958 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1907, allocations: 7.922 kB / 0.5958 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.1913, allocations: 446.1 kB / 0.5962 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1914, allocations: 128.7 kB / 0.5964 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.1915, allocations: 11.98 kB / 0.5964 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1917, allocations: 8 kB / 0.5964 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.1917, allocations: 11.92 kB / 0.5964 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1917, allocations: 8 kB / 0.5964 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002178/0.192, allocations: 231.1 kB / 0.5966 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.192, allocations: 0 / 0.5966 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003721/0.1923, allocations: 95.66 kB / 0.5967 GB, free: 7.277 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.0008761/0.1932, allocations: 0.9633 MB / 0.5977 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.1938, allocations: 279.8 kB / 0.5979 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1938, allocations: 4 kB / 0.5979 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.194, allocations: 91.95 kB / 0.598 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.1947, allocations: 102.7 kB / 0.5981 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.199, allocations: 3.036 MB / 0.6011 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1993, allocations: 0.7755 MB / 0.6018 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.1995, allocations: 26.28 kB / 0.6019 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1997, allocations: 99.41 kB / 0.602 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.1997, allocations: 0 / 0.602 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3083/0.508, allocations: 6.259 MB / 0.6081 GB, free: 51.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.5083, allocations: 207.7 kB / 0.6083 GB, free: 50.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.429, allocations: 2.109 kB / 0.6083 GB, free: 50.98 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)