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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 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.001372/0.001372, allocations: 193.6 kB / 16.53 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 64.3 kB / 0.5054 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1747, allocations: 80.92 MB / 0.5845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.005274/0.18, allocations: 2.603 MB / 0.587 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1821, allocations: 0.9001 MB / 0.5879 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.1827, allocations: 11.94 kB / 0.5879 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1831, allocations: 67.39 kB / 0.588 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.1834, allocations: 59.39 kB / 0.588 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.1841, allocations: 239.2 kB / 0.5882 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000647/0.1848, allocations: 459.7 kB / 0.5887 GB, free: 156 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.1853, allocations: 229.4 kB / 0.5889 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.1855, allocations: 147.4 kB / 0.589 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1857, allocations: 147.2 kB / 0.5892 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.1858, allocations: 52 kB / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.1859, allocations: 48 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.186, allocations: 91.7 kB / 0.5894 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1862, allocations: 191 kB / 0.5895 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.1868, allocations: 0.5922 MB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1868, allocations: 0 / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1868, allocations: 4 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.1869, allocations: 4 kB / 0.5901 GB, free: 14.66 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.00133/0.1882, allocations: 0.6429 MB / 0.5908 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1883, allocations: 15.97 kB / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.1884, allocations: 58.73 kB / 0.5908 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1885, allocations: 44.38 kB / 0.5909 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.1891, allocations: 379.4 kB / 0.5912 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.1891, allocations: 20.94 kB / 0.5913 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.1892, allocations: 36.25 kB / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.1898, allocations: 325.5 kB / 0.5916 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1899, allocations: 0 / 0.5916 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.1899, allocations: 8 kB / 0.5916 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1899, allocations: 12 kB / 0.5916 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.1904, allocations: 238.1 kB / 0.5918 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.1922, allocations: 1.166 MB / 0.593 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.1927, allocations: 226.9 kB / 0.5932 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.1929, allocations: 100.8 kB / 0.5933 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1929, allocations: 11.88 kB / 0.5933 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.193, allocations: 34.56 kB / 0.5933 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.193, allocations: 0 / 0.5933 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006624/0.1936, allocations: 292 kB / 0.5936 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.1937, allocations: 89.05 kB / 0.5937 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.1941, allocations: 336.4 kB / 0.594 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1941, allocations: 29.7 kB / 0.5941 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1942, allocations: 200.1 kB / 0.5942 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.1943, allocations: 43.27 kB / 0.5943 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/0.1944, allocations: 45.7 kB / 0.5943 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1945, allocations: 338.8 kB / 0.5947 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1948, allocations: 88.83 kB / 0.5947 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.195, allocations: 131.2 kB / 0.5949 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.1953, allocations: 182.6 kB / 0.595 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1953, allocations: 4 kB / 0.595 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004786/0.1958, allocations: 247.4 kB / 0.5953 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1958, allocations: 4 kB / 0.5953 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1958, allocations: 4 kB / 0.5953 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1959, allocations: 0 / 0.5953 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1961, allocations: 39.98 kB / 0.5953 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1961, allocations: 11.92 kB / 0.5953 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1962, allocations: 27.67 kB / 0.5954 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1962, allocations: 8 kB / 0.5954 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002413/0.1965, allocations: 188.1 kB / 0.5955 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001493/0.1966, allocations: 109.6 kB / 0.5957 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002522/0.1969, allocations: 168.7 kB / 0.5958 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.1969, allocations: 4 kB / 0.5958 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003614/0.1973, allocations: 221.1 kB / 0.596 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1973, allocations: 8 kB / 0.596 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1973, allocations: 3.984 kB / 0.596 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.1973, allocations: 0 / 0.596 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1974, allocations: 32 kB / 0.5961 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1975, allocations: 4 kB / 0.5961 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1976, allocations: 23.77 kB / 0.5961 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1976, allocations: 4 kB / 0.5961 GB, free: 8.238 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.0001382/0.1978, allocations: 188.3 kB / 0.5963 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.1978, allocations: 31.56 kB / 0.5963 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.1979, allocations: 39.27 kB / 0.5963 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1979, allocations: 4 kB / 0.5964 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.1979, allocations: 3.938 kB / 0.5964 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1979, allocations: 4 kB / 0.5964 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1984, allocations: 401.4 kB / 0.5967 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1984, allocations: 3.984 kB / 0.5967 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1986, allocations: 23.98 kB / 0.5968 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1986, allocations: 4 kB / 0.5968 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.1986, allocations: 4 kB / 0.5968 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1986, allocations: 3.938 kB / 0.5968 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1986, allocations: 7.938 kB / 0.5968 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006826/0.1993, allocations: 435 kB / 0.5972 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1994, allocations: 136.7 kB / 0.5973 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.1995, allocations: 0 / 0.5973 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1996, allocations: 15.98 kB / 0.5973 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.1997, allocations: 11.92 kB / 0.5974 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1997, allocations: 8 kB / 0.5974 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002749/0.2, allocations: 235.1 kB / 0.5976 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2, allocations: 0 / 0.5976 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000388/0.2004, allocations: 91.59 kB / 0.5977 GB, free: 6.527 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.0009259/0.2013, allocations: 0.9701 MB / 0.5986 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.2019, allocations: 283.8 kB / 0.5989 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2019, allocations: 0 / 0.5989 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.2021, allocations: 95.84 kB / 0.599 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.2028, allocations: 91.53 kB / 0.5991 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.2066, allocations: 2.943 MB / 0.602 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.207, allocations: 0.7714 MB / 0.6027 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.2072, allocations: 34.28 kB / 0.6027 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.2074, allocations: 103.4 kB / 0.6028 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2074, allocations: 0 / 0.6028 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3188/0.5262, allocations: 6.54 MB / 0.6092 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.946, allocations: 9.578 kB / 0.6092 GB, free: 52.13 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)