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.597/1.597, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001493/0.001493, allocations: 188.5 kB / 326.5 MB, free: 2.238 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.839/1.839, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009674/0.0009675, allocations: 100.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003171, allocations: 12.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00212/0.1941, allocations: 2.2 MB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1952, allocations: 0.8972 MB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.1955, allocations: 11.94 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.1955, allocations: 27.66 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.1959, allocations: 79.69 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1963, allocations: 135.8 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.1966, allocations: 260.1 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.1969, allocations: 144.4 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.197, allocations: 87.5 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1971, allocations: 99.23 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1972, allocations: 8 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.368e-05/0.1972, allocations: 8 kB / 0.904 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.1972, allocations: 39.78 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.1973, allocations: 89.52 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.1976, allocations: 491 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1976, allocations: 8 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1977, allocations: 4 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.1977, allocations: 0 / 0.9046 GB, free: 59.24 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.0007805/0.1985, allocations: 0.5804 MB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1985, allocations: 12.03 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.245e-05/0.1986, allocations: 62.53 kB / 0.9052 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.1986, allocations: 47.39 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1991, allocations: 382.2 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1991, allocations: 20.56 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.1992, allocations: 24 kB / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.1997, allocations: 329.4 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1997, allocations: 0 / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1998, allocations: 12 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1998, allocations: 8 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.2002, allocations: 258 kB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2015, allocations: 1.174 MB / 0.9074 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.2019, allocations: 246.8 kB / 0.9076 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.202, allocations: 7.938 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.202, allocations: 38.52 kB / 0.9077 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.202, allocations: 0 / 0.9077 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005645/0.2026, allocations: 318.7 kB / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2026, allocations: 85.11 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.2029, allocations: 333.7 kB / 0.9084 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2029, allocations: 29.7 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.203, allocations: 196.1 kB / 0.9086 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.2031, allocations: 55.19 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.2031, allocations: 8 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.2032, allocations: 338.8 kB / 0.909 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2033, allocations: 87.97 kB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2035, allocations: 124.4 kB / 0.9092 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2037, allocations: 90.36 kB / 0.9093 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2037, allocations: 7.938 kB / 0.9093 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003765/0.2041, allocations: 269 kB / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-05/0.2041, allocations: 271 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.2042, allocations: 0 / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2042, allocations: 8.062 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.2043, allocations: 27.98 kB / 0.9098 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2043, allocations: 11.94 kB / 0.9099 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2045, allocations: 31.73 kB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2045, allocations: 4 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-06/0.2045, allocations: 6.188 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002474/0.2048, allocations: 175.8 kB / 0.9101 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.2048, allocations: 0 / 0.9101 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.2048, allocations: 0 / 0.9101 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.2049, allocations: 31.98 kB / 0.9101 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.2049, allocations: 0 / 0.9101 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.205, allocations: 23.73 kB / 0.9101 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.205, allocations: 8 kB / 0.9101 GB, free: 53.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.2052, allocations: 249.1 kB / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.2052, allocations: 27.62 kB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.2053, allocations: 35.28 kB / 0.9104 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2053, allocations: 4 kB / 0.9104 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2053, allocations: 0 / 0.9104 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2053, allocations: 0 / 0.9104 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.2056, allocations: 409.3 kB / 0.9108 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2056, allocations: 0 / 0.9108 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2058, allocations: 27.98 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2058, allocations: 3.984 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2058, allocations: 12 kB / 0.9109 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2058, allocations: 7.875 kB / 0.9109 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2059, allocations: 0 / 0.9109 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.2065, allocations: 452.5 kB / 0.9113 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.2066, allocations: 132.7 kB / 0.9114 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.2066, allocations: 11.94 kB / 0.9114 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2068, allocations: 15.98 kB / 0.9114 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.2068, allocations: 12.05 kB / 0.9115 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.2068, allocations: 8 kB / 0.9115 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002176/0.207, allocations: 239.2 kB / 0.9117 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2071, allocations: 0 / 0.9117 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003508/0.2074, allocations: 87.62 kB / 0.9118 GB, free: 51.51 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 (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.0007153/0.2081, allocations: 0.9872 MB / 0.9127 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.2086, allocations: 301.9 kB / 0.913 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2086, allocations: 4 kB / 0.913 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2088, allocations: 104.2 kB / 0.9131 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.2092, allocations: 71.39 kB / 0.9132 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.2121, allocations: 2.103 MB / 0.9153 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2123, allocations: 0.7833 MB / 0.916 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.2124, allocations: 26.28 kB / 0.916 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2126, allocations: 103.4 kB / 0.9161 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.2126, allocations: 0 / 0.9161 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.2274, allocations: 6.105 MB / 0.9221 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001143/0.2276, allocations: 210.1 kB / 0.9223 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.12, allocations: 0 / 0.9223 GB, free: 40.77 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)