Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.493/1.493, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001123/0.001123, allocations: 180.2 kB / 326.5 MB, free: 2.215 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.853/1.853, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009726/0.0009729, allocations: 90.34 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 13.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2872, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004093/0.2913, allocations: 3.015 MB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005173/0.2965, allocations: 2.411 MB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007254/0.2973, allocations: 15.88 kB / 0.9054 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.2986, allocations: 294.7 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.2999, allocations: 389.5 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.3017, allocations: 431.1 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.3032, allocations: 0.7681 MB / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.3035, allocations: 123.5 kB / 0.9074 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.3041, allocations: 326.9 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.3047, allocations: 330.7 kB / 0.908 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.112e-05/0.3048, allocations: 32 kB / 0.908 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3049, allocations: 24 kB / 0.9081 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.3053, allocations: 319.1 kB / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3055, allocations: 189.2 kB / 0.9085 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.3062, allocations: 0.6661 MB / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3062, allocations: 0 / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3062, allocations: 0 / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.3062, allocations: 4 kB / 0.9092 GB, free: 54.5 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002657/0.3089, allocations: 1.136 MB / 0.9103 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.309, allocations: 12.02 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.786e-05/0.3091, allocations: 66.55 kB / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.3093, allocations: 110.8 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3106, allocations: 0.5734 MB / 0.911 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.3107, allocations: 44.59 kB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3108, allocations: 52 kB / 0.9111 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.3116, allocations: 407 kB / 0.9115 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.3116, allocations: 7.938 kB / 0.9115 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.3117, allocations: 16 kB / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3117, allocations: 8 kB / 0.9116 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.3123, allocations: 238.4 kB / 0.9118 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.3161, allocations: 2.494 MB / 0.9142 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.3182, allocations: 0.5499 MB / 0.9148 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.3182, allocations: 4 kB / 0.9148 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3183, allocations: 38.5 kB / 0.9148 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 3.957e-06/0.3183, allocations: 0 / 0.9148 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.002151/0.3204, allocations: 0.8908 MB / 0.9157 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3205, allocations: 59.36 kB / 0.9157 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3221, allocations: 0.8841 MB / 0.9166 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/0.3222, allocations: 41.7 kB / 0.9166 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.3225, allocations: 364.7 kB / 0.917 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3227, allocations: 110.4 kB / 0.9171 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.3227, allocations: 16 kB / 0.9171 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3229, allocations: 394.7 kB / 0.9175 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.3234, allocations: 245.8 kB / 0.9177 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/0.3242, allocations: 0.6426 MB / 0.9183 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.3249, allocations: 331.7 kB / 0.9186 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.3249, allocations: 8 kB / 0.9187 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002277/0.3272, allocations: 1.018 MB / 0.9197 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.3273, allocations: 12 kB / 0.9197 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.3273, allocations: 16 kB / 0.9197 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.3278, allocations: 118.4 kB / 0.9198 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/0.3289, allocations: 191.8 kB / 0.92 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/0.3322, allocations: 4.197 MB / 0.9241 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.3339, allocations: 115 kB / 0.9242 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.3341, allocations: 44 kB / 0.9242 GB, free: 38.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004718/0.3345, allocations: 265.5 kB / 0.9245 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.3348, allocations: 86.88 kB / 0.9246 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.335, allocations: 80.52 kB / 0.9246 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.335, allocations: 4 kB / 0.9246 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.335, allocations: 3.953 kB / 0.9246 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.335, allocations: 0 / 0.9246 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/0.336, allocations: 0.653 MB / 0.9253 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.336, allocations: 4 kB / 0.9253 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.3365, allocations: 59.89 kB / 0.9253 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.337, allocations: 102.4 kB / 0.9254 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.337, allocations: 15.98 kB / 0.9255 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.3402, allocations: 4.162 MB / 0.9295 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3402, allocations: 0 / 0.9295 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3417, allocations: 0.7393 MB / 0.9302 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.3422, allocations: 207.9 kB / 0.9304 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.3424, allocations: 8 kB / 0.9304 GB, free: 31.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/0.3431, allocations: 31.88 kB / 0.9305 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3432, allocations: 31.84 kB / 0.9305 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.3433, allocations: 8 kB / 0.9305 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001079/0.3443, allocations: 0.5888 MB / 0.9311 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3444, allocations: 0 / 0.9311 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001346/0.3457, allocations: 267.8 kB / 0.9313 GB, free: 30.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001597/0.3473, allocations: 1.285 MB / 0.9326 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.3491, allocations: 0.9247 MB / 0.9335 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.3491, allocations: 8.25 kB / 0.9335 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.3497, allocations: 0.5155 MB / 0.934 GB, free: 27.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.3509, allocations: 162.5 kB / 0.9342 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.3574, allocations: 12.2 MB / 0.9461 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.358, allocations: 1.019 MB / 0.9471 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007446/0.3588, allocations: 133.3 kB / 0.9472 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.3593, allocations: 275.3 kB / 0.9475 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.323e-06/0.3593, allocations: 0 / 0.9475 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04477/0.4041, allocations: 15.84 MB / 0.9629 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003492/0.4045, allocations: 219.7 kB / 0.9632 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/2.871, allocations: 0 / 0.9632 GB, free: 13.4 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)