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.417/1.417, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.000902/0.000902, allocations: 170.1 kB / 325.8 MB, free: 2.652 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.794/1.794, allocations: 205 MB / 0.576 GB, free: 20.89 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.0007535/0.0007536, allocations: 94.72 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 17.66 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1996, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002284/0.202, allocations: 2.34 MB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2031, allocations: 0.9396 MB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.2033, allocations: 15.88 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.2035, allocations: 43.64 kB / 0.8995 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2036, allocations: 47.59 kB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.2041, allocations: 222.3 kB / 0.8997 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.2044, allocations: 407.7 kB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.2047, allocations: 217.1 kB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.2047, allocations: 83.41 kB / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.2049, allocations: 99.19 kB / 0.9005 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.2049, allocations: 11.94 kB / 0.9005 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.2049, allocations: 8 kB / 0.9005 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.205, allocations: 39.77 kB / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.2051, allocations: 143 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.2054, allocations: 0.5565 MB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2054, allocations: 0 / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2054, allocations: 0 / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2054, allocations: 4 kB / 0.9012 GB, free: 62.85 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.0006991/0.2061, allocations: 0.5729 MB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2062, allocations: 12.03 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.2062, allocations: 66.72 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.2063, allocations: 52.25 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2067, allocations: 383.3 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.2067, allocations: 24.94 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.2067, allocations: 28.38 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.2072, allocations: 337.5 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2073, allocations: 3.938 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2073, allocations: 11.98 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2073, allocations: 8 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.2077, allocations: 250.1 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2089, allocations: 1.17 MB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.2093, allocations: 248.8 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.2095, allocations: 104.8 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2095, allocations: 0 / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2095, allocations: 46.48 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.2096, allocations: 0 / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005537/0.2101, allocations: 309.2 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2102, allocations: 85.09 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.2104, allocations: 337.7 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2105, allocations: 29.7 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2106, allocations: 204 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.2106, allocations: 55.19 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.2106, allocations: 29.7 kB / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.2107, allocations: 334.8 kB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2109, allocations: 83.97 kB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.211, allocations: 135.8 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.2113, allocations: 201.2 kB / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2114, allocations: 0 / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003748/0.2117, allocations: 269.1 kB / 0.9064 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.2118, allocations: 105.5 kB / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2118, allocations: 3.938 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2118, allocations: 4 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.212, allocations: 43.97 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.212, allocations: 4 kB / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2121, allocations: 19.84 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2122, allocations: 11.98 kB / 0.9066 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-06/0.2122, allocations: 4 kB / 0.9066 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002449/0.2124, allocations: 175.8 kB / 0.9068 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.2124, allocations: 4.062 kB / 0.9068 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/0.2124, allocations: 7.922 kB / 0.9068 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2126, allocations: 35.92 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-06/0.2126, allocations: 0 / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.2127, allocations: 15.84 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2127, allocations: 11.94 kB / 0.9068 GB, free: 56.81 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.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.0001419/0.2128, allocations: 249 kB / 0.9071 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.2129, allocations: 31.61 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.2129, allocations: 43.28 kB / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.213, allocations: 0 / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.213, allocations: 0 / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.213, allocations: 0 / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.2133, allocations: 413.2 kB / 0.9075 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2133, allocations: 4 kB / 0.9075 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2134, allocations: 23.98 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2134, allocations: 0 / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2135, allocations: 8 kB / 0.9076 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2135, allocations: 0 / 0.9076 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2135, allocations: 4 kB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.214, allocations: 461.6 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.2141, allocations: 132.7 kB / 0.9081 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.2142, allocations: 4 kB / 0.9081 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2143, allocations: 12 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.2143, allocations: 11.92 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2144, allocations: 8 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001741/0.2145, allocations: 247.2 kB / 0.9084 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2146, allocations: 0 / 0.9084 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003267/0.2149, allocations: 91.59 kB / 0.9085 GB, free: 55.01 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.0007588/0.2156, allocations: 0.9854 MB / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.2162, allocations: 297.9 kB / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2162, allocations: 4 kB / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2163, allocations: 107.4 kB / 0.9099 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.2169, allocations: 81.33 kB / 0.9099 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.2203, allocations: 3.105 MB / 0.913 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.2205, allocations: 0.7791 MB / 0.9137 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.2206, allocations: 34.27 kB / 0.9138 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.2208, allocations: 99.41 kB / 0.9139 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.353e-06/0.2208, allocations: 0 / 0.9139 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06658/0.2874, allocations: 6.215 MB / 0.9199 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.2876, allocations: 222.8 kB / 0.9201 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.206, allocations: 0 / 0.9201 GB, free: 43.11 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)