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 2.286/2.286, allocations: 252 MB / 267.3 MB, free: 10.84 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.001588/0.001588, allocations: 172 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.068/3.068, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.001354/0.001354, allocations: 92.8 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 9.719 kB / 0.7971 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.286, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004917/0.291, allocations: 3.37 MB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.2962, allocations: 2.562 MB / 0.9067 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.2968, allocations: 11.94 kB / 0.9067 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009283/0.2977, allocations: 222.8 kB / 0.9069 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.2991, allocations: 470 kB / 0.9074 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.3007, allocations: 473.3 kB / 0.9078 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.3026, allocations: 1.617 MB / 0.9094 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.3029, allocations: 132.7 kB / 0.9095 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.3036, allocations: 374.5 kB / 0.9099 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008181/0.3044, allocations: 0.506 MB / 0.9104 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.3045, allocations: 32 kB / 0.9104 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3047, allocations: 36 kB / 0.9104 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.3051, allocations: 315 kB / 0.9107 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.3055, allocations: 459.3 kB / 0.9112 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.3063, allocations: 0.887 MB / 0.912 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3063, allocations: 0 / 0.912 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3063, allocations: 0 / 0.912 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.3064, allocations: 0 / 0.912 GB, free: 51.95 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.002429/0.3088, allocations: 1.141 MB / 0.9132 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.3089, allocations: 16.02 kB / 0.9132 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.175e-05/0.309, allocations: 66.73 kB / 0.9132 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.3092, allocations: 103.8 kB / 0.9133 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.3104, allocations: 0.652 MB / 0.914 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.3105, allocations: 37.03 kB / 0.914 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.3106, allocations: 64.11 kB / 0.9141 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.3114, allocations: 407 kB / 0.9145 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3115, allocations: 3.984 kB / 0.9145 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.3115, allocations: 16 kB / 0.9145 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3116, allocations: 11.94 kB / 0.9145 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/0.3121, allocations: 234.4 kB / 0.9147 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.3159, allocations: 2.517 MB / 0.9172 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.3177, allocations: 0.5602 MB / 0.9177 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.3181, allocations: 172.8 kB / 0.9179 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3181, allocations: 0 / 0.9179 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3182, allocations: 42.5 kB / 0.9179 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.555e-06/0.3182, allocations: 3.938 kB / 0.9179 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.002206/0.3204, allocations: 0.8943 MB / 0.9188 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3205, allocations: 55.41 kB / 0.9189 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.3221, allocations: 0.9231 MB / 0.9198 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.3222, allocations: 41.7 kB / 0.9198 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.3225, allocations: 360.8 kB / 0.9201 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.3227, allocations: 114.4 kB / 0.9202 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3227, allocations: 20 kB / 0.9203 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3229, allocations: 394.7 kB / 0.9206 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.3235, allocations: 241.8 kB / 0.9209 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008093/0.3243, allocations: 0.6504 MB / 0.9215 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.3257, allocations: 0.8914 MB / 0.9224 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/0.3257, allocations: 7.938 kB / 0.9224 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00239/0.3281, allocations: 1.021 MB / 0.9234 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.3281, allocations: 12.53 kB / 0.9234 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.3282, allocations: 23.94 kB / 0.9234 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.3288, allocations: 118.5 kB / 0.9235 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.3298, allocations: 191.7 kB / 0.9237 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007375/0.3372, allocations: 4.161 MB / 0.9278 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.3392, allocations: 111 kB / 0.9279 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.3393, allocations: 48 kB / 0.9279 GB, free: 34.4 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004849/0.3398, allocations: 265.5 kB / 0.9282 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.34, allocations: 86.86 kB / 0.9283 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.3401, allocations: 80.53 kB / 0.9283 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3401, allocations: 4.125 kB / 0.9283 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.3402, allocations: 4 kB / 0.9284 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3402, allocations: 7.969 kB / 0.9284 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.3411, allocations: 0.6531 MB / 0.929 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3411, allocations: 0 / 0.929 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.3416, allocations: 63.89 kB / 0.9291 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.342, allocations: 106.5 kB / 0.9292 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.3421, allocations: 8 kB / 0.9292 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.3452, allocations: 4.138 MB / 0.9332 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3452, allocations: 3.984 kB / 0.9332 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.3466, allocations: 0.743 MB / 0.9339 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.347, allocations: 211.8 kB / 0.9341 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3472, allocations: 8 kB / 0.9341 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/0.3479, allocations: 23.97 kB / 0.9342 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.348, allocations: 35.89 kB / 0.9342 GB, free: 27.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.348, allocations: 8 kB / 0.9342 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001095/0.3492, allocations: 0.6239 MB / 0.9348 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3492, allocations: 0 / 0.9348 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005557/0.3547, allocations: 275.7 kB / 0.9351 GB, free: 26.56 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/0.3566, allocations: 1.295 MB / 0.9363 GB, free: 25.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.3585, allocations: 0.9092 MB / 0.9372 GB, free: 24.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3585, allocations: 4.438 kB / 0.9372 GB, free: 24.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.3592, allocations: 0.5311 MB / 0.9378 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.3607, allocations: 181.2 kB / 0.9379 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/0.3817, allocations: 8.48 MB / 0.9462 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.3825, allocations: 0.9917 MB / 0.9472 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008408/0.3834, allocations: 149.8 kB / 0.9473 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.384, allocations: 279.3 kB / 0.9476 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of SimCode: time 1.202e-06/0.384, allocations: 0 / 0.9476 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08437/0.4684, allocations: 16.26 MB / 0.9635 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.4687, allocations: 244.4 kB / 0.9637 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.314/4.782, allocations: 3.938 kB / 0.9637 GB, free: 12.78 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)