Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.001456/0.001456, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00169/0.00169, allocations: 193.3 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 72.91 kB / 0.8985 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2604, allocations: 157.4 MB / 1.052 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003984/0.2644, allocations: 2.798 MB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.2682, allocations: 2.793 MB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.2685, allocations: 7.938 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2698, allocations: 466.3 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.2703, allocations: 243 kB / 1.058 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.2711, allocations: 335.3 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.2728, allocations: 1.712 MB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.273, allocations: 121.7 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.2737, allocations: 410.7 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.2742, allocations: 402.6 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.38e-05/0.2743, allocations: 23.94 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2745, allocations: 32 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.2747, allocations: 227.3 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005295/0.2752, allocations: 330.2 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2763, allocations: 0.8801 MB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2764, allocations: 4 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2764, allocations: 0 / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.2764, allocations: 0 / 1.063 GB, free: 13.51 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.002842/0.2792, allocations: 1.14 MB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2793, allocations: 19.97 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.589e-05/0.2794, allocations: 58.67 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.2796, allocations: 83.98 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.2809, allocations: 0.6525 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.2809, allocations: 28.94 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.281, allocations: 40.36 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.2818, allocations: 378.6 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2818, allocations: 4 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.2818, allocations: 8 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2818, allocations: 8 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.2824, allocations: 229.5 kB / 1.065 GB, free: 10.75 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.004609/0.287, allocations: 2.459 MB / 1.068 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2884, allocations: 406.5 kB / 1.068 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.2887, allocations: 136.8 kB / 1.068 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2887, allocations: 0 / 1.068 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2888, allocations: 38.88 kB / 1.068 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.2888, allocations: 4 kB / 1.068 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001235/0.29, allocations: 0.5296 MB / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2901, allocations: 59.41 kB / 1.069 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.2917, allocations: 0.9298 MB / 1.07 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.2917, allocations: 33.7 kB / 1.07 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.292, allocations: 308.4 kB / 1.07 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.2921, allocations: 67.02 kB / 1.07 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.2924, allocations: 126.2 kB / 1.07 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2926, allocations: 378.7 kB / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.293, allocations: 240.9 kB / 1.071 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.2937, allocations: 0.5014 MB / 1.071 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.2948, allocations: 0.7008 MB / 1.072 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.2948, allocations: 8 kB / 1.072 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001623/0.2965, allocations: 0.8127 MB / 1.073 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2965, allocations: 13.88 kB / 1.073 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2965, allocations: 15.98 kB / 1.073 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.2967, allocations: 48.83 kB / 1.073 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.2972, allocations: 139.8 kB / 1.073 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.2984, allocations: 1.436 MB / 1.074 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.2991, allocations: 119.3 kB / 1.074 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.2991, allocations: 28 kB / 1.074 GB, free: 0.5742 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.0003486/0.2995, allocations: 349.5 kB / 1.075 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.2996, allocations: 63.16 kB / 1.075 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2997, allocations: 69.94 kB / 1.075 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2997, allocations: 0 / 1.075 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2997, allocations: 4 kB / 1.075 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2997, allocations: 3.984 kB / 1.075 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.3004, allocations: 0.5829 MB / 1.076 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3004, allocations: 0 / 1.076 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.3007, allocations: 47.95 kB / 1.076 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.3009, allocations: 48.75 kB / 1.076 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3009, allocations: 11.94 kB / 1.076 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.3019, allocations: 1.417 MB / 1.077 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3019, allocations: 4.031 kB / 1.077 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.3027, allocations: 0.5656 MB / 1.078 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.303, allocations: 196.4 kB / 1.078 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.3031, allocations: 11.98 kB / 1.078 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.3035, allocations: 55.77 kB / 1.078 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3036, allocations: 11.98 kB / 1.078 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3036, allocations: 0 / 1.078 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008685/0.3045, allocations: 0.6668 MB / 1.078 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3045, allocations: 0 / 1.078 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006454/0.3052, allocations: 175.8 kB / 1.079 GB, free: 12.07 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.0008697/0.306, allocations: 1.127 MB / 1.08 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.3068, allocations: 0.5724 MB / 1.08 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3068, allocations: 4.125 kB / 1.08 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3071, allocations: 246.5 kB / 1.081 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007279/0.3078, allocations: 166.8 kB / 1.081 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008395/0.3162, allocations: 7.175 MB / 1.088 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.3167, allocations: 1.006 MB / 1.089 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003576/0.3171, allocations: 184.5 kB / 1.089 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.3173, allocations: 203.4 kB / 1.089 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3173, allocations: 0 / 1.089 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7867/1.104, allocations: 13.6 MB / 1.102 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/1.104, allocations: 220.8 kB / 1.103 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.974, allocations: 3.938 kB / 1.103 GB, free: 3.391 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)