Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.006738/0.006738, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001683/0.001683, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.316/2.316, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 65.25 kB / 0.9504 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2373, allocations: 140.4 MB / 1.087 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003429/0.2408, allocations: 2.745 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.2441, allocations: 2.78 MB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.2443, allocations: 11.94 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2455, allocations: 0.4904 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.246, allocations: 262.9 kB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.2468, allocations: 394.7 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.2482, allocations: 1.528 MB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2484, allocations: 138.2 kB / 1.096 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.2489, allocations: 478.8 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.2494, allocations: 390.6 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.018e-05/0.2494, allocations: 48 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.2495, allocations: 48 kB / 1.097 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.2498, allocations: 271.3 kB / 1.097 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.2501, allocations: 374.1 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.2508, allocations: 0.9113 MB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2509, allocations: 0 / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.985e-06/0.2509, allocations: 0 / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.2509, allocations: 3.938 kB / 1.098 GB, free: 7.277 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.001879/0.2528, allocations: 1.146 MB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2528, allocations: 12.03 kB / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.2529, allocations: 54.73 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.253, allocations: 76 kB / 1.099 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.254, allocations: 0.6837 MB / 1.1 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.254, allocations: 28.94 kB / 1.1 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.2541, allocations: 36.38 kB / 1.1 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.2546, allocations: 386.6 kB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2546, allocations: 0 / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.2547, allocations: 8 kB / 1.1 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2547, allocations: 8 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.255, allocations: 233.5 kB / 1.101 GB, free: 4.5 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.003276/0.2583, allocations: 2.447 MB / 1.103 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/0.2593, allocations: 402.4 kB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.2595, allocations: 137.1 kB / 1.104 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.2595, allocations: 15.84 kB / 1.104 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2596, allocations: 34.56 kB / 1.104 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.2596, allocations: 0 / 1.104 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009035/0.2605, allocations: 0.5311 MB / 1.104 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2605, allocations: 51.41 kB / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2616, allocations: 0.9414 MB / 1.105 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.2616, allocations: 33.7 kB / 1.105 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2619, allocations: 296.5 kB / 1.105 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.262, allocations: 74.92 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.2621, allocations: 118.2 kB / 1.106 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2623, allocations: 386.7 kB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.2626, allocations: 240.9 kB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.2631, allocations: 0.4975 MB / 1.107 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.2638, allocations: 0.6997 MB / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.2639, allocations: 0 / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001126/0.265, allocations: 0.8236 MB / 1.108 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.265, allocations: 8 kB / 1.108 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.265, allocations: 8 kB / 1.108 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.2652, allocations: 60.75 kB / 1.108 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.2657, allocations: 139.8 kB / 1.108 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.2668, allocations: 1.539 MB / 1.11 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.2675, allocations: 127.2 kB / 1.11 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.2675, allocations: 28 kB / 1.11 GB, free: 10.21 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.0003037/0.2678, allocations: 337.4 kB / 1.11 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.2679, allocations: 63.19 kB / 1.11 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.268, allocations: 66 kB / 1.11 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.268, allocations: 4 kB / 1.11 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2681, allocations: 4.062 kB / 1.11 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2681, allocations: 3.984 kB / 1.11 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.2686, allocations: 0.5752 MB / 1.111 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2686, allocations: 7.922 kB / 1.111 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2689, allocations: 47.97 kB / 1.111 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.269, allocations: 44.75 kB / 1.111 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2691, allocations: 8 kB / 1.111 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009738/0.27, allocations: 1.523 MB / 1.113 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.27, allocations: 8.094 kB / 1.113 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.2707, allocations: 0.5716 MB / 1.113 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.271, allocations: 200.2 kB / 1.113 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.2711, allocations: 11.98 kB / 1.113 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.2715, allocations: 47.86 kB / 1.113 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.2716, allocations: 15.98 kB / 1.113 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2716, allocations: 4 kB / 1.113 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000759/0.2724, allocations: 0.6629 MB / 1.114 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2724, allocations: 0 / 1.114 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005843/0.2729, allocations: 179.8 kB / 1.114 GB, free: 5.602 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.0009369/0.2739, allocations: 1.114 MB / 1.115 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008002/0.2747, allocations: 0.5803 MB / 1.116 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2747, allocations: 1.875 kB / 1.116 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.275, allocations: 250.5 kB / 1.116 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.2758, allocations: 163.1 kB / 1.116 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/0.2836, allocations: 6.916 MB / 1.123 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.2841, allocations: 1.007 MB / 1.124 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003687/0.2845, allocations: 180.5 kB / 1.124 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.2848, allocations: 211.3 kB / 1.124 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of SimCode: time 5.81e-07/0.2848, allocations: 3.938 kB / 1.124 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.3172, allocations: 14.2 MB / 1.138 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.99, allocations: 4.062 kB / 1.138 GB, free: 12.8 MB / 0.9044 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)