Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.001051/0.001051, 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.0009707/0.0009708, allocations: 198.1 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.00208, allocations: 68.36 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2343, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.00392/0.2383, allocations: 2.787 MB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003739/0.242, allocations: 2.808 MB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.2423, allocations: 4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.2435, allocations: 466.2 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.244, allocations: 239.1 kB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.2448, allocations: 340.7 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.2465, allocations: 1.712 MB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.2467, allocations: 125.6 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.2474, allocations: 414.7 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.2479, allocations: 398.6 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.248, allocations: 24 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2481, allocations: 27.94 kB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.2484, allocations: 231.3 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.2487, allocations: 338.2 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006879/0.2494, allocations: 0.8762 MB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2494, allocations: 4 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2494, allocations: 0 / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.2495, allocations: 0 / 1.063 GB, free: 13.43 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.001906/0.2514, allocations: 1.144 MB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2514, allocations: 11.97 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.038e-05/0.2515, allocations: 58.72 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2516, allocations: 80 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.2525, allocations: 0.6448 MB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.2526, allocations: 36.94 kB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.2526, allocations: 40.31 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.2531, allocations: 374.7 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2531, allocations: 4 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.2532, allocations: 8 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2532, allocations: 8 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.2536, allocations: 237.5 kB / 1.065 GB, free: 10.67 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.003193/0.2568, allocations: 2.459 MB / 1.068 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.2577, allocations: 410.3 kB / 1.068 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2579, allocations: 136.8 kB / 1.068 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.2579, allocations: 0 / 1.068 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2579, allocations: 34.88 kB / 1.068 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 9.42e-07/0.2579, allocations: 0 / 1.068 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008549/0.2588, allocations: 0.5312 MB / 1.069 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.2588, allocations: 59.34 kB / 1.069 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2599, allocations: 0.9337 MB / 1.07 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2599, allocations: 33.7 kB / 1.07 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.2601, allocations: 300.4 kB / 1.07 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.2602, allocations: 75 kB / 1.07 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.2604, allocations: 118.2 kB / 1.07 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2605, allocations: 382.6 kB / 1.071 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.2609, allocations: 244.9 kB / 1.071 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.2613, allocations: 0.5014 MB / 1.071 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/0.262, allocations: 0.6927 MB / 1.072 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2621, allocations: 4 kB / 1.072 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001089/0.2632, allocations: 0.816 MB / 1.073 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2632, allocations: 8 kB / 1.073 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2632, allocations: 12 kB / 1.073 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.2634, allocations: 61.34 kB / 1.073 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.2638, allocations: 139.7 kB / 1.073 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.2648, allocations: 1.432 MB / 1.074 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.2654, allocations: 123.3 kB / 1.074 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.2655, allocations: 28 kB / 1.075 GB, free: 0.4961 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.0002995/0.2658, allocations: 341.4 kB / 1.075 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.2659, allocations: 67.14 kB / 1.075 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.266, allocations: 74.03 kB / 1.075 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.266, allocations: 4.047 kB / 1.075 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.266, allocations: 0 / 1.075 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.266, allocations: 0 / 1.075 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.2666, allocations: 0.5829 MB / 1.076 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2666, allocations: 0 / 1.076 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.2669, allocations: 55.89 kB / 1.076 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.267, allocations: 36.83 kB / 1.076 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.267, allocations: 15.92 kB / 1.076 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009331/0.268, allocations: 1.413 MB / 1.077 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.268, allocations: 4.156 kB / 1.077 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.2687, allocations: 0.563 MB / 1.078 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.2689, allocations: 200.3 kB / 1.078 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.269, allocations: 11.94 kB / 1.078 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.2694, allocations: 55.77 kB / 1.078 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.2694, allocations: 19.97 kB / 1.078 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2694, allocations: 4 kB / 1.078 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000754/0.2702, allocations: 0.6629 MB / 1.079 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2702, allocations: 0 / 1.079 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005507/0.2708, allocations: 179.8 kB / 1.079 GB, free: 11.99 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.000922/0.2717, allocations: 1.112 MB / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008029/0.2725, allocations: 0.5746 MB / 1.08 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2725, allocations: 0 / 1.08 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.2728, allocations: 246.5 kB / 1.081 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007508/0.2736, allocations: 177.4 kB / 1.081 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008969/0.2826, allocations: 7.171 MB / 1.088 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.2831, allocations: 1.014 MB / 1.089 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003763/0.2835, allocations: 180.5 kB / 1.089 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.2838, allocations: 207.4 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.2838, allocations: 0 / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.544/0.8278, allocations: 13.59 MB / 1.102 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.8281, allocations: 228.7 kB / 1.103 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.699, allocations: 3.938 kB / 1.103 GB, free: 3.312 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)