Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001984/0.001983, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003055/0.003056, allocations: 194.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.723/2.723, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.255/5.255, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 65.42 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4477, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004707/0.4525, allocations: 2.787 MB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.457, allocations: 2.77 MB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.4574, allocations: 7.938 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.459, allocations: 474.2 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006947/0.4597, allocations: 243 kB / 1.059 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.4609, allocations: 362.3 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002122/0.463, allocations: 1.548 MB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.4633, allocations: 146.2 kB / 1.061 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.4644, allocations: 482.8 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008246/0.4653, allocations: 438.4 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.4654, allocations: 48 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.4657, allocations: 60 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.466, allocations: 267.3 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.4666, allocations: 370.2 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009888/0.4676, allocations: 0.8957 MB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4677, allocations: 0 / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4677, allocations: 0 / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.776e-05/0.4677, allocations: 0 / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003092/0.4708, allocations: 1.148 MB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.4709, allocations: 12.62 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.471, allocations: 66.72 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.4712, allocations: 76 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.4726, allocations: 0.6525 MB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.4727, allocations: 28.94 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.4729, allocations: 40.38 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.4736, allocations: 378.6 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4736, allocations: 0 / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.4736, allocations: 12 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.4736, allocations: 4 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.4741, allocations: 241.5 kB / 1.066 GB, free: 11.01 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.4783, allocations: 2.451 MB / 1.068 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.4794, allocations: 402.4 kB / 1.068 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.4796, allocations: 140.7 kB / 1.068 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.4797, allocations: 4 kB / 1.068 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.4797, allocations: 30.88 kB / 1.068 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.4797, allocations: 7.938 kB / 1.068 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001049/0.4808, allocations: 0.5354 MB / 1.069 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4808, allocations: 55.41 kB / 1.069 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4822, allocations: 0.9298 MB / 1.07 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.4822, allocations: 37.7 kB / 1.07 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.4825, allocations: 308.4 kB / 1.07 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.254e-05/0.4826, allocations: 70.94 kB / 1.07 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.4828, allocations: 122.2 kB / 1.07 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.483, allocations: 386.7 kB / 1.071 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.4834, allocations: 236.9 kB / 1.071 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.4841, allocations: 0.5014 MB / 1.072 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.4854, allocations: 0.6946 MB / 1.072 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.4855, allocations: 8 kB / 1.072 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002249/0.4877, allocations: 0.8126 MB / 1.073 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.4878, allocations: 16.16 kB / 1.073 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.4878, allocations: 11.98 kB / 1.073 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.4883, allocations: 52.83 kB / 1.073 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.4891, allocations: 139.8 kB / 1.073 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.491, allocations: 1.531 MB / 1.075 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.4918, allocations: 135.3 kB / 1.075 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.4919, allocations: 28 kB / 1.075 GB, free: 0.7148 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.4923, allocations: 341.4 kB / 1.075 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.4924, allocations: 59.19 kB / 1.075 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.4925, allocations: 70 kB / 1.075 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4925, allocations: 0 / 1.075 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4926, allocations: 0 / 1.075 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4926, allocations: 8 kB / 1.075 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.4934, allocations: 0.5791 MB / 1.076 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4934, allocations: 3.938 kB / 1.076 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.4937, allocations: 47.95 kB / 1.076 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/0.4939, allocations: 40.77 kB / 1.076 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.4939, allocations: 11.98 kB / 1.076 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.4951, allocations: 1.527 MB / 1.078 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4951, allocations: 0 / 1.078 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.496, allocations: 0.5673 MB / 1.078 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.4963, allocations: 204.2 kB / 1.078 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4964, allocations: 11.94 kB / 1.078 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.4968, allocations: 47.92 kB / 1.078 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4969, allocations: 15.98 kB / 1.078 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4969, allocations: 11.92 kB / 1.078 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000951/0.4979, allocations: 0.659 MB / 1.079 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4979, allocations: 0 / 1.079 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006691/0.4986, allocations: 179.8 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001104/0.4997, allocations: 1.118 MB / 1.08 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009491/0.5007, allocations: 0.6031 MB / 1.081 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5007, allocations: 0 / 1.081 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.501, allocations: 246.5 kB / 1.081 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.5019, allocations: 181.5 kB / 1.081 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.5123, allocations: 7.157 MB / 1.088 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.513, allocations: 1.01 MB / 1.089 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004489/0.5135, allocations: 180.5 kB / 1.089 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.5138, allocations: 203.4 kB / 1.09 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.5138, allocations: 0 / 1.09 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8052/1.319, allocations: 13.92 MB / 1.103 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005633/1.32, allocations: 238.9 kB / 1.103 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.032/6.352, allocations: 0 / 1.103 GB, free: 3.102 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)