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.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.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.001032/0.001032, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.366/2.366, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.09 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2476, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003501/0.2511, allocations: 2.74 MB / 1.056 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.2544, allocations: 2.788 MB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2546, allocations: 7.938 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.2558, allocations: 0.4902 MB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.2562, allocations: 258.8 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.257, allocations: 395 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.2583, allocations: 1.521 MB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.2585, allocations: 138.3 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.259, allocations: 466.8 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.2595, allocations: 418.5 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.2596, allocations: 48 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2597, allocations: 56 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.26, allocations: 271.3 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.2603, allocations: 374.2 kB / 1.063 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.2609, allocations: 0.8918 MB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2609, allocations: 4 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2609, allocations: 0 / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.261, allocations: 0 / 1.063 GB, free: 13.45 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.001775/0.2627, allocations: 1.152 MB / 1.065 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2628, allocations: 8.625 kB / 1.065 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.2628, allocations: 58.72 kB / 1.065 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.263, allocations: 84 kB / 1.065 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.2638, allocations: 0.6486 MB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.2639, allocations: 28.94 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.2639, allocations: 36.38 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.2644, allocations: 382.6 kB / 1.066 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2645, allocations: 8 kB / 1.066 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2645, allocations: 8 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2645, allocations: 8 kB / 1.066 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.2649, allocations: 233.5 kB / 1.066 GB, free: 10.69 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.003248/0.2681, allocations: 2.463 MB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/0.269, allocations: 394.5 kB / 1.069 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.2692, allocations: 141.8 kB / 1.069 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.2693, allocations: 4 kB / 1.069 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.2693, allocations: 38.81 kB / 1.069 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/0.2693, allocations: 4 kB / 1.069 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008511/0.2702, allocations: 0.5271 MB / 1.069 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2702, allocations: 59.41 kB / 1.07 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.2713, allocations: 0.9298 MB / 1.07 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2713, allocations: 37.7 kB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.2715, allocations: 300.4 kB / 1.071 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.2716, allocations: 86.86 kB / 1.071 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.2718, allocations: 122.2 kB / 1.071 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2719, allocations: 378.7 kB / 1.071 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.2722, allocations: 236.9 kB / 1.072 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.2727, allocations: 0.5014 MB / 1.072 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.2734, allocations: 0.6973 MB / 1.073 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2734, allocations: 8 kB / 1.073 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001086/0.2745, allocations: 0.806 MB / 1.074 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2745, allocations: 16.16 kB / 1.074 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2746, allocations: 11.98 kB / 1.074 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.2747, allocations: 52.83 kB / 1.074 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.2752, allocations: 143.7 kB / 1.074 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.2763, allocations: 1.535 MB / 1.075 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.277, allocations: 127.3 kB / 1.075 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.277, allocations: 32 kB / 1.075 GB, free: 400 kB / 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.0003458/0.2774, allocations: 337.5 kB / 1.076 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2775, allocations: 63.36 kB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/0.2776, allocations: 66 kB / 1.076 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2776, allocations: 4 kB / 1.076 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.2776, allocations: 0 / 1.076 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2776, allocations: 0 / 1.076 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.2782, allocations: 0.583 MB / 1.076 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2782, allocations: 11.94 kB / 1.076 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.2784, allocations: 51.89 kB / 1.076 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.2786, allocations: 44.77 kB / 1.077 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.2786, allocations: 8 kB / 1.077 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009891/0.2796, allocations: 1.515 MB / 1.078 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2796, allocations: 0 / 1.078 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.2803, allocations: 0.568 MB / 1.079 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.2806, allocations: 204.2 kB / 1.079 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.2806, allocations: 8 kB / 1.079 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.281, allocations: 51.8 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.2811, allocations: 15.92 kB / 1.079 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.2811, allocations: 12 kB / 1.079 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000826/0.282, allocations: 0.659 MB / 1.079 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.282, allocations: 0 / 1.079 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006437/0.2826, allocations: 183.8 kB / 1.08 GB, free: 11.78 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.0009517/0.2836, allocations: 1.111 MB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008437/0.2844, allocations: 0.6028 MB / 1.081 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2844, allocations: 0 / 1.081 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.2848, allocations: 251.9 kB / 1.082 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.2855, allocations: 168.4 kB / 1.082 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007781/0.2933, allocations: 7.033 MB / 1.089 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.2939, allocations: 1.01 MB / 1.09 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.2943, allocations: 184.5 kB / 1.09 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.2946, allocations: 207.3 kB / 1.09 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of SimCode: time 6.61e-07/0.2946, allocations: 3.938 kB / 1.09 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.934/2.229, allocations: 14.02 MB / 1.104 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/13.95, allocations: 7.172 kB / 1.104 GB, free: 3.008 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)