Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_10_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.004473/0.004473, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001266/0.001266, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437.1 MB / 0.7106 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2391, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003495/0.2426, allocations: 2.737 MB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.246, allocations: 2.777 MB / 1.172 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.2462, allocations: 11.94 kB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.2473, allocations: 0.4902 MB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.2478, allocations: 254.9 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.2485, allocations: 399 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.2501, allocations: 1.528 MB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2503, allocations: 142.3 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.2508, allocations: 470.8 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.2513, allocations: 382.6 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.943e-05/0.2514, allocations: 48 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.2515, allocations: 56 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.2518, allocations: 271.2 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.2521, allocations: 374.2 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.2529, allocations: 0.9147 MB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2529, allocations: 0 / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.61e-07/0.2529, allocations: 0 / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2529, allocations: 0 / 1.177 GB, free: 12.4 MB / 0.9356 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.00179/0.2547, allocations: 1.175 MB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2548, allocations: 11.97 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.2548, allocations: 62.73 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.2549, allocations: 80.42 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.2558, allocations: 0.6727 MB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2559, allocations: 28.94 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.2559, allocations: 36.38 kB / 1.179 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.2565, allocations: 378.6 kB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2565, allocations: 8 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.2565, allocations: 8 kB / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2565, allocations: 8 kB / 1.179 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.2569, allocations: 229.5 kB / 1.179 GB, free: 9.602 MB / 0.9356 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.003274/0.2602, allocations: 2.455 MB / 1.182 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.2611, allocations: 410.3 kB / 1.182 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.2613, allocations: 132.8 kB / 1.182 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2613, allocations: 4 kB / 1.182 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2614, allocations: 42.55 kB / 1.182 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.955e-06/0.2614, allocations: 0 / 1.182 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009209/0.2623, allocations: 0.5435 MB / 1.183 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2624, allocations: 55.41 kB / 1.183 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.2635, allocations: 0.9337 MB / 1.184 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.2635, allocations: 37.7 kB / 1.184 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.2638, allocations: 308.8 kB / 1.184 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.2638, allocations: 67.42 kB / 1.184 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.264, allocations: 126.2 kB / 1.184 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2642, allocations: 382.7 kB / 1.185 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.2645, allocations: 236.9 kB / 1.185 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.2651, allocations: 0.505 MB / 1.185 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.2659, allocations: 0.7083 MB / 1.186 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.2659, allocations: 4 kB / 1.186 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001155/0.2671, allocations: 0.8104 MB / 1.187 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2671, allocations: 12 kB / 1.187 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2671, allocations: 8 kB / 1.187 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.2673, allocations: 52.83 kB / 1.187 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.2678, allocations: 143.7 kB / 1.187 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.269, allocations: 1.55 MB / 1.189 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.2696, allocations: 119.4 kB / 1.189 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.2696, allocations: 32.16 kB / 1.189 GB, free: 15.28 MB / 0.9512 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.000319/0.2699, allocations: 345.3 kB / 1.189 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.27, allocations: 71.47 kB / 1.189 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.2701, allocations: 66 kB / 1.189 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2701, allocations: 4 kB / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2701, allocations: 0 / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2702, allocations: 0 / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.2707, allocations: 0.5753 MB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2708, allocations: 7.938 kB / 1.19 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.271, allocations: 51.89 kB / 1.19 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.2711, allocations: 40.83 kB / 1.19 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.2711, allocations: 11.98 kB / 1.19 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.2723, allocations: 1.523 MB / 1.191 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2723, allocations: 0 / 1.191 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.273, allocations: 0.5768 MB / 1.192 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.2732, allocations: 196.7 kB / 1.192 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.2733, allocations: 11.98 kB / 1.192 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.2737, allocations: 47.86 kB / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.2737, allocations: 11.98 kB / 1.192 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2737, allocations: 8.125 kB / 1.192 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007708/0.2745, allocations: 0.6668 MB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2745, allocations: 0 / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005261/0.275, allocations: 183.9 kB / 1.193 GB, free: 10.65 MB / 0.9512 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.0009825/0.276, allocations: 1.119 MB / 1.194 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007932/0.2768, allocations: 0.5717 MB / 1.195 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2768, allocations: 0 / 1.195 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.2772, allocations: 252.7 kB / 1.195 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.2779, allocations: 167.7 kB / 1.195 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007841/0.2857, allocations: 6.93 MB / 1.202 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.2863, allocations: 1.018 MB / 1.203 GB, free: 192 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003384/0.2867, allocations: 184.5 kB / 1.203 GB, free: 8 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.287, allocations: 199.5 kB / 1.203 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.287, allocations: 0 / 1.203 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9095/1.196, allocations: 14.21 MB / 1.217 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/18.29, allocations: 9.172 kB / 1.217 GB, free: 1.836 MB / 0.9669 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)