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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00704/0.00704, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001846/0.001846, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.434/2.434, allocations: 482.6 MB / 0.755 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 68.27 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2777, allocations: 162.3 MB / 1.242 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003473/0.2812, allocations: 2.742 MB / 1.245 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00343/0.2847, allocations: 2.776 MB / 1.247 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2848, allocations: 7.938 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.286, allocations: 0.4902 MB / 1.248 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.2864, allocations: 258.9 kB / 1.248 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.2872, allocations: 394.1 kB / 1.248 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.2887, allocations: 1.536 MB / 1.25 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.2889, allocations: 134.3 kB / 1.25 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005138/0.2894, allocations: 470.8 kB / 1.25 GB, free: 120 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004893/0.2899, allocations: 386.6 kB / 1.251 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.454e-05/0.29, allocations: 51.94 kB / 1.251 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2901, allocations: 48 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.2904, allocations: 275.3 kB / 1.251 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.2908, allocations: 370.2 kB / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.2916, allocations: 0.9224 MB / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2916, allocations: 0 / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2916, allocations: 0 / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2916, allocations: 0 / 1.252 GB, free: 14.08 MB / 0.9825 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.001789/0.2934, allocations: 1.171 MB / 1.254 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.2935, allocations: 8.031 kB / 1.254 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.2935, allocations: 58.67 kB / 1.254 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2936, allocations: 92.42 kB / 1.254 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008781/0.2945, allocations: 0.6765 MB / 1.254 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2946, allocations: 28.94 kB / 1.254 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.2946, allocations: 40.38 kB / 1.254 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.2954, allocations: 378.6 kB / 1.255 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2954, allocations: 0 / 1.255 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.2955, allocations: 12 kB / 1.255 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.2955, allocations: 4 kB / 1.255 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.2961, allocations: 237.5 kB / 1.255 GB, free: 11.27 MB / 0.9825 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.004889/0.301, allocations: 2.451 MB / 1.257 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.3024, allocations: 402.4 kB / 1.258 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.3028, allocations: 142.6 kB / 1.258 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3028, allocations: 0 / 1.258 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.3028, allocations: 42.56 kB / 1.258 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.3028, allocations: 0 / 1.258 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001309/0.3042, allocations: 0.5265 MB / 1.258 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3042, allocations: 59.34 kB / 1.259 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.3059, allocations: 0.9376 MB / 1.259 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.306, allocations: 37.7 kB / 1.259 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.3063, allocations: 300.8 kB / 1.26 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3065, allocations: 79.41 kB / 1.26 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.3067, allocations: 122.2 kB / 1.26 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.307, allocations: 378.7 kB / 1.26 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.3075, allocations: 240.9 kB / 1.261 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.3083, allocations: 0.5014 MB / 1.261 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.3096, allocations: 0.6968 MB / 1.262 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.3096, allocations: 7.938 kB / 1.262 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001731/0.3113, allocations: 0.8166 MB / 1.263 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3113, allocations: 12 kB / 1.263 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3114, allocations: 8 kB / 1.263 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.3115, allocations: 56.81 kB / 1.263 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.312, allocations: 139.7 kB / 1.263 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.3132, allocations: 1.539 MB / 1.264 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.3138, allocations: 127.5 kB / 1.264 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.3138, allocations: 28 kB / 1.264 GB, free: 0.9727 MB / 0.9825 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.0003304/0.3142, allocations: 341.4 kB / 1.265 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.3143, allocations: 71.5 kB / 1.265 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3144, allocations: 62.02 kB / 1.265 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3144, allocations: 7.984 kB / 1.265 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3144, allocations: 7.938 kB / 1.265 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3144, allocations: 0 / 1.265 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.3151, allocations: 0.5831 MB / 1.265 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3151, allocations: 3.938 kB / 1.265 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.3153, allocations: 47.91 kB / 1.265 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.3154, allocations: 40.81 kB / 1.266 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3155, allocations: 8 kB / 1.266 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3166, allocations: 1.527 MB / 1.267 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3166, allocations: 0 / 1.267 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/0.3173, allocations: 0.5754 MB / 1.268 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.3175, allocations: 200.7 kB / 1.268 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.3176, allocations: 11.98 kB / 1.268 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.3179, allocations: 47.86 kB / 1.268 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.318, allocations: 11.98 kB / 1.268 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.318, allocations: 8 kB / 1.268 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007853/0.3188, allocations: 0.6629 MB / 1.268 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3188, allocations: 0 / 1.268 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005167/0.3193, allocations: 183.9 kB / 1.269 GB, free: 12.35 MB / 0.9981 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.001011/0.3203, allocations: 1.125 MB / 1.27 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008048/0.3212, allocations: 0.5773 MB / 1.27 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3212, allocations: 0 / 1.27 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.3215, allocations: 242.5 kB / 1.271 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.3222, allocations: 184.7 kB / 1.271 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/0.33, allocations: 6.94 MB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.3306, allocations: 1.007 MB / 1.278 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003586/0.331, allocations: 180.5 kB / 1.279 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.3313, allocations: 207.4 kB / 1.279 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3313, allocations: 0 / 1.279 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.913/2.244, allocations: 14.21 MB / 1.293 GB, free: 3.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/17.4, allocations: 3.781 kB / 1.293 GB, free: 3.52 MB / 1.014 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=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)