Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_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.006467/0.006467, allocations: 102.4 kB / 15.73 MB, free: 6.477 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.001658/0.001658, allocations: 193.9 kB / 16.67 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 70.72 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2515, allocations: 140.4 MB / 1.087 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003985/0.2556, allocations: 2.737 MB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003978/0.2596, allocations: 2.773 MB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.2599, allocations: 11.88 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.2615, allocations: 0.4943 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.2622, allocations: 254.9 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.2633, allocations: 406 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.265, allocations: 1.532 MB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.2653, allocations: 134.3 kB / 1.096 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007584/0.2661, allocations: 478.8 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.2668, allocations: 378.6 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.2669, allocations: 48 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.2671, allocations: 48 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.2675, allocations: 279.3 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005244/0.268, allocations: 374.2 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000847/0.2689, allocations: 0.9073 MB / 1.098 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2689, allocations: 4 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2689, allocations: 3.938 kB / 1.098 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.2689, allocations: 0 / 1.098 GB, free: 7.211 MB / 0.8575 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.002384/0.2713, allocations: 1.14 MB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2714, allocations: 8.031 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.989e-05/0.2714, allocations: 58.72 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.2716, allocations: 80 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2728, allocations: 0.6798 MB / 1.1 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2728, allocations: 24.94 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.2729, allocations: 48.38 kB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.2735, allocations: 370.7 kB / 1.1 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2735, allocations: 3.938 kB / 1.1 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.2735, allocations: 11.98 kB / 1.1 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2735, allocations: 4 kB / 1.1 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.2739, allocations: 241.5 kB / 1.101 GB, free: 4.434 MB / 0.8575 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.003621/0.2776, allocations: 2.447 MB / 1.103 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/0.2785, allocations: 402.4 kB / 1.103 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.2788, allocations: 141 kB / 1.104 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.2788, allocations: 3.906 kB / 1.104 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2788, allocations: 38.56 kB / 1.104 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.2788, allocations: 0 / 1.104 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009559/0.2798, allocations: 0.5311 MB / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2798, allocations: 55.41 kB / 1.104 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2811, allocations: 0.9376 MB / 1.105 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2811, allocations: 33.7 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.2814, allocations: 296.4 kB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.2814, allocations: 78.94 kB / 1.105 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2816, allocations: 126.2 kB / 1.106 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2818, allocations: 382.7 kB / 1.106 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.2821, allocations: 236.9 kB / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.2827, allocations: 0.5014 MB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.2836, allocations: 0.6958 MB / 1.107 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.2836, allocations: 4 kB / 1.107 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001337/0.2849, allocations: 0.8113 MB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.285, allocations: 11.98 kB / 1.108 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.285, allocations: 16.75 kB / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.2852, allocations: 60.77 kB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.2857, allocations: 135.8 kB / 1.108 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2871, allocations: 1.538 MB / 1.11 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.2878, allocations: 131.1 kB / 1.11 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.2879, allocations: 28 kB / 1.11 GB, free: 10.14 MB / 0.8731 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.0004032/0.2883, allocations: 341.6 kB / 1.11 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.2884, allocations: 63.19 kB / 1.11 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.2886, allocations: 69.94 kB / 1.11 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2886, allocations: 0 / 1.11 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2886, allocations: 4 kB / 1.11 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2886, allocations: 0 / 1.11 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.2893, allocations: 0.5791 MB / 1.111 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.2893, allocations: 3.938 kB / 1.111 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2896, allocations: 47.95 kB / 1.111 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.2897, allocations: 44.83 kB / 1.111 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.2898, allocations: 7.984 kB / 1.111 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.2908, allocations: 1.523 MB / 1.113 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2908, allocations: 3.938 kB / 1.113 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.2916, allocations: 0.5681 MB / 1.113 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.2919, allocations: 208.2 kB / 1.113 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.292, allocations: 8 kB / 1.113 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.2924, allocations: 47.86 kB / 1.113 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.2925, allocations: 11.98 kB / 1.113 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2925, allocations: 0 / 1.113 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008688/0.2933, allocations: 0.6668 MB / 1.114 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2934, allocations: 0 / 1.114 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006419/0.294, allocations: 175.8 kB / 1.114 GB, free: 5.543 MB / 0.8731 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.001032/0.295, allocations: 1.118 MB / 1.115 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009036/0.296, allocations: 0.5822 MB / 1.116 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.296, allocations: 256 / 1.116 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.2963, allocations: 254.4 kB / 1.116 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.2971, allocations: 169.7 kB / 1.116 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.3057, allocations: 6.916 MB / 1.123 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.3063, allocations: 1.003 MB / 1.124 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003905/0.3067, allocations: 184.5 kB / 1.124 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.307, allocations: 207.4 kB / 1.124 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/0.307, allocations: 0 / 1.124 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.3433, allocations: 14.21 MB / 1.138 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 6.656 kB / 1.138 GB, free: 12.73 MB / 0.9044 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)