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.001141/0.001141, 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.00109/0.00109, allocations: 198.1 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7436/0.7436, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.73 kB / 0.5012 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1967, allocations: 80.2 MB / 0.5795 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004037/0.2008, allocations: 2.643 MB / 0.5821 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2026, allocations: 0.8807 MB / 0.5829 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.2029, allocations: 11.94 kB / 0.5829 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.2032, allocations: 43.59 kB / 0.583 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.2033, allocations: 47.64 kB / 0.583 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.2039, allocations: 222.7 kB / 0.5832 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.2043, allocations: 411.6 kB / 0.5836 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.2047, allocations: 217.1 kB / 0.5838 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2048, allocations: 111.4 kB / 0.584 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.205, allocations: 127.2 kB / 0.5841 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.205, allocations: 16 kB / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.2051, allocations: 16 kB / 0.5841 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.2051, allocations: 55.7 kB / 0.5842 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.2053, allocations: 147.1 kB / 0.5843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.2058, allocations: 0.5805 MB / 0.5849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2058, allocations: 4 kB / 0.5849 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2058, allocations: 0 / 0.5849 GB, free: 3.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2059, allocations: 0 / 0.5849 GB, free: 3.633 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.001044/0.2069, allocations: 0.6429 MB / 0.5855 GB, free: 2.941 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.207, allocations: 12.03 kB / 0.5855 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.022e-05/0.207, allocations: 62.73 kB / 0.5856 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.2071, allocations: 48.31 kB / 0.5856 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.2076, allocations: 375.4 kB / 0.586 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.2076, allocations: 20.94 kB / 0.586 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.2077, allocations: 24.38 kB / 0.586 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.2083, allocations: 333.5 kB / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2084, allocations: 4 kB / 0.5863 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.2084, allocations: 11.94 kB / 0.5863 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2084, allocations: 8 kB / 0.5864 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.2089, allocations: 234.1 kB / 0.5866 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2104, allocations: 1.17 MB / 0.5877 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.2109, allocations: 234.8 kB / 0.5879 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2111, allocations: 96.83 kB / 0.588 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2111, allocations: 7.938 kB / 0.588 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2112, allocations: 34.5 kB / 0.5881 GB, free: 160 kB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2112, allocations: 0 / 0.5881 GB, free: 160 kB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006413/0.2118, allocations: 297.3 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.2119, allocations: 81.11 kB / 0.5884 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.2122, allocations: 332.4 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.2123, allocations: 25.7 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2124, allocations: 204 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.2125, allocations: 47.27 kB / 0.589 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.2125, allocations: 45.61 kB / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2127, allocations: 342.8 kB / 0.5894 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.2129, allocations: 92.77 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.2131, allocations: 117.1 kB / 0.5896 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.2134, allocations: 186.6 kB / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2134, allocations: 0 / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004421/0.2139, allocations: 255.8 kB / 0.59 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2139, allocations: 8 kB / 0.59 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2139, allocations: 64 / 0.59 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2139, allocations: 4 kB / 0.59 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.2141, allocations: 35.92 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2142, allocations: 7.938 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.2143, allocations: 31.67 kB / 0.5901 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2143, allocations: 4 kB / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002448/0.2146, allocations: 196.1 kB / 0.5903 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001484/0.2147, allocations: 99.41 kB / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00026/0.215, allocations: 172.7 kB / 0.5905 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.215, allocations: 0 / 0.5905 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003455/0.2153, allocations: 225.1 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.2154, allocations: 4 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.2154, allocations: 0 / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.2154, allocations: 12.03 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2155, allocations: 27.92 kB / 0.5908 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.2155, allocations: 0 / 0.5908 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2156, allocations: 27.77 kB / 0.5908 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2157, allocations: 4 kB / 0.5908 GB, free: 13.22 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.000121/0.2158, allocations: 191.5 kB / 0.591 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.2158, allocations: 31.56 kB / 0.591 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/0.2159, allocations: 39.28 kB / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2159, allocations: 4 kB / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.216, allocations: 3.938 kB / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.216, allocations: 0 / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.2164, allocations: 405.3 kB / 0.5915 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2164, allocations: 0 / 0.5915 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.2166, allocations: 31.98 kB / 0.5915 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2166, allocations: 0 / 0.5915 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2166, allocations: 0 / 0.5915 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2166, allocations: 3.984 kB / 0.5915 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2166, allocations: 3.938 kB / 0.5915 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.2173, allocations: 441.7 kB / 0.5919 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.2174, allocations: 132.6 kB / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.2175, allocations: 4 kB / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.2176, allocations: 11.98 kB / 0.5921 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.2177, allocations: 15.92 kB / 0.5921 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.2177, allocations: 8.062 kB / 0.5921 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002386/0.2179, allocations: 235.1 kB / 0.5923 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2179, allocations: 0 / 0.5923 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003923/0.2183, allocations: 87.59 kB / 0.5924 GB, free: 11.52 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.0009001/0.2193, allocations: 0.9659 MB / 0.5934 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.2198, allocations: 281 kB / 0.5936 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2198, allocations: 0 / 0.5936 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.22, allocations: 96.28 kB / 0.5937 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.2207, allocations: 92.66 kB / 0.5938 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.225, allocations: 3.039 MB / 0.5968 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2253, allocations: 0.7794 MB / 0.5975 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000147/0.2255, allocations: 34.2 kB / 0.5976 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2257, allocations: 103.4 kB / 0.5977 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.2257, allocations: 0 / 0.5977 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3329/0.5586, allocations: 6.261 MB / 0.6038 GB, free: 56.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.5588, allocations: 192.8 kB / 0.604 GB, free: 56.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.382, allocations: 0.625 kB / 0.604 GB, free: 56.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)