Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.789/1.789, allocations: 288.4 MB / 303.3 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 183.2 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008405/0.0008404, allocations: 97.09 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 11.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002428/0.1994, allocations: 2.189 MB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2009, allocations: 0.8895 MB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.2013, allocations: 15.94 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.2016, allocations: 39.58 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.2018, allocations: 39.64 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2023, allocations: 133.4 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.2027, allocations: 391.7 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.203, allocations: 148.4 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2031, allocations: 91.39 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2032, allocations: 99.3 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.2032, allocations: 8 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.43e-05/0.2033, allocations: 4 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.2033, allocations: 35.8 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.2034, allocations: 85.52 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2037, allocations: 0.4989 MB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2037, allocations: 3.938 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2037, allocations: 4 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2037, allocations: 0 / 0.9842 GB, free: 22.88 MB / 0.6198 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.0007245/0.2044, allocations: 0.5765 MB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.2045, allocations: 16.02 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.356e-05/0.2046, allocations: 66.53 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.2046, allocations: 43.48 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.205, allocations: 378.2 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.205, allocations: 20.56 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.2051, allocations: 31.91 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.2056, allocations: 333.3 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2056, allocations: 0 / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.2056, allocations: 12 kB / 0.9856 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2056, allocations: 7.938 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.2061, allocations: 250.1 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2073, allocations: 1.174 MB / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.2077, allocations: 246.8 kB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.2079, allocations: 100.9 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2079, allocations: 7.938 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2079, allocations: 34.56 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2079, allocations: 0 / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005776/0.2085, allocations: 323.1 kB / 0.9877 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.2086, allocations: 81.11 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.2088, allocations: 329.7 kB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2089, allocations: 29.7 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.209, allocations: 204 kB / 0.9883 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.209, allocations: 51.25 kB / 0.9883 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.209, allocations: 8 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.2091, allocations: 338.8 kB / 0.9887 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.2093, allocations: 87.95 kB / 0.9888 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.2094, allocations: 120.1 kB / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2096, allocations: 101.6 kB / 0.989 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2096, allocations: 3.938 kB / 0.989 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003844/0.21, allocations: 269.1 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.2101, allocations: 104 kB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2101, allocations: 4.062 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2101, allocations: 4 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2103, allocations: 27.98 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2103, allocations: 7.938 kB / 0.9894 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2104, allocations: 31.77 kB / 0.9894 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2104, allocations: 4 kB / 0.9894 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-06/0.2104, allocations: 4 kB / 0.9894 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002605/0.2107, allocations: 185.2 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.2107, allocations: 0 / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.2107, allocations: 3.953 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2108, allocations: 24 kB / 0.9896 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.2108, allocations: 3.984 kB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.2109, allocations: 19.84 kB / 0.9896 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.211, allocations: 4 kB / 0.9896 GB, free: 17.02 MB / 0.6198 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.2111, allocations: 245.1 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.2112, allocations: 27.62 kB / 0.9899 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.2112, allocations: 35.28 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2112, allocations: 11.94 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2112, allocations: 0 / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2112, allocations: 3.984 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.2116, allocations: 421.2 kB / 0.9903 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2116, allocations: 0 / 0.9903 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.2117, allocations: 31.92 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2117, allocations: 4 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2118, allocations: 4 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2118, allocations: 0 / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2118, allocations: 3.953 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.2123, allocations: 447.6 kB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.2124, allocations: 136.7 kB / 0.9909 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.2125, allocations: 0 / 0.9909 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2126, allocations: 15.98 kB / 0.991 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.2127, allocations: 16 kB / 0.991 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.2127, allocations: 4 kB / 0.991 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001945/0.2129, allocations: 243.1 kB / 0.9912 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2129, allocations: 0 / 0.9912 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003337/0.2132, allocations: 91.59 kB / 0.9913 GB, free: 15.22 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007157/0.214, allocations: 0.9829 MB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.2145, allocations: 301.2 kB / 0.9925 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2145, allocations: 256 / 0.9925 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.2147, allocations: 110 kB / 0.9927 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.2152, allocations: 69.39 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.218, allocations: 1.824 MB / 0.9945 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.2182, allocations: 0.7833 MB / 0.9953 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.2183, allocations: 26.27 kB / 0.9953 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.2184, allocations: 103.4 kB / 0.9954 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2184, allocations: 0 / 0.9954 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.2386, allocations: 6.147 MB / 1.001 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.2388, allocations: 201.1 kB / 1.002 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.29, allocations: 0 / 1.002 GB, free: 4.734 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)