Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 252 MB / 267.3 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 171.5 kB / 327 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 0.578 GB, free: 20.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 92.33 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 8.5 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1822, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002458/0.1847, allocations: 2.284 MB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1861, allocations: 0.9357 MB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.1864, allocations: 11.94 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.1866, allocations: 43.64 kB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1868, allocations: 51.59 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.1873, allocations: 213.3 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.1877, allocations: 415.6 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.188, allocations: 209.1 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1881, allocations: 87.41 kB / 0.905 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1882, allocations: 107.2 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.1882, allocations: 8 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/0.1883, allocations: 8 kB / 0.9052 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.1883, allocations: 39.77 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.1884, allocations: 164.7 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.1887, allocations: 0.5607 MB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1888, allocations: 0 / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1888, allocations: 0 / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.1888, allocations: 0 / 0.9059 GB, free: 58.26 MB / 0.6042 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.0007383/0.1895, allocations: 0.5778 MB / 0.9065 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1896, allocations: 11.97 kB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.448e-05/0.1897, allocations: 66.66 kB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.1897, allocations: 44.38 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1901, allocations: 391.3 kB / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1901, allocations: 24.94 kB / 0.907 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.1902, allocations: 28.36 kB / 0.907 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1907, allocations: 333.5 kB / 0.9073 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1907, allocations: 0 / 0.9073 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.1907, allocations: 15.98 kB / 0.9073 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1907, allocations: 8 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.1912, allocations: 246.1 kB / 0.9076 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1924, allocations: 1.178 MB / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.1928, allocations: 246.8 kB / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.193, allocations: 100.8 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.193, allocations: 4 kB / 0.9091 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.193, allocations: 38.48 kB / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.193, allocations: 0 / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005587/0.1936, allocations: 323.8 kB / 0.9094 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1936, allocations: 77.11 kB / 0.9095 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1939, allocations: 341.7 kB / 0.9098 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1939, allocations: 29.7 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.194, allocations: 200 kB / 0.91 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1941, allocations: 55.19 kB / 0.9101 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.1941, allocations: 4 kB / 0.9101 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.1941, allocations: 338.8 kB / 0.9104 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1943, allocations: 87.97 kB / 0.9105 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1945, allocations: 129.9 kB / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1948, allocations: 201.5 kB / 0.9108 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1948, allocations: 0 / 0.9108 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003945/0.1952, allocations: 269.1 kB / 0.9111 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.1952, allocations: 110.7 kB / 0.9112 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1952, allocations: 12 kB / 0.9112 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1953, allocations: 4 kB / 0.9112 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1954, allocations: 35.86 kB / 0.9112 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1955, allocations: 4 kB / 0.9112 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1956, allocations: 27.83 kB / 0.9113 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1956, allocations: 7.938 kB / 0.9113 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/0.1956, allocations: 4 kB / 0.9113 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002566/0.1959, allocations: 178.6 kB / 0.9114 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.1959, allocations: 0 / 0.9114 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.1959, allocations: 0 / 0.9114 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.196, allocations: 35.92 kB / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.196, allocations: 0 / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.1961, allocations: 19.78 kB / 0.9115 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1961, allocations: 8 kB / 0.9115 GB, free: 52.25 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.1963, allocations: 253 kB / 0.9117 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1963, allocations: 27.62 kB / 0.9118 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.1964, allocations: 35.28 kB / 0.9118 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1964, allocations: 4 kB / 0.9118 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1964, allocations: 0 / 0.9118 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1964, allocations: 0 / 0.9118 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1967, allocations: 409.2 kB / 0.9122 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1967, allocations: 0 / 0.9122 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1969, allocations: 27.98 kB / 0.9122 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1969, allocations: 7.984 kB / 0.9122 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1969, allocations: 11.98 kB / 0.9122 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.631e-05/0.197, allocations: 0 / 0.9122 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.197, allocations: 0 / 0.9122 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.1975, allocations: 454.9 kB / 0.9127 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.1976, allocations: 136.7 kB / 0.9128 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1976, allocations: 4 kB / 0.9128 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1978, allocations: 11.98 kB / 0.9128 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1979, allocations: 20.05 kB / 0.9128 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1979, allocations: 4 kB / 0.9128 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001785/0.1981, allocations: 243.1 kB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1981, allocations: 0 / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000331/0.1984, allocations: 87.59 kB / 0.9132 GB, free: 50.45 MB / 0.6042 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.000707/0.1991, allocations: 0.9962 MB / 0.9141 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.1996, allocations: 295.8 kB / 0.9144 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1996, allocations: 4.188 kB / 0.9144 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1998, allocations: 111.8 kB / 0.9145 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.2003, allocations: 83.22 kB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.2037, allocations: 3.112 MB / 0.9176 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2039, allocations: 0.7753 MB / 0.9184 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.204, allocations: 26.28 kB / 0.9184 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.2042, allocations: 107.3 kB / 0.9185 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2042, allocations: 0 / 0.9185 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.2195, allocations: 6.202 MB / 0.9246 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.2197, allocations: 232.4 kB / 0.9248 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.148, allocations: 0 / 0.9248 GB, free: 38.53 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)