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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 194.4 kB / 16.53 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.174/1.174, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.067/2.067, allocations: 390.2 MB / 0.6647 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.475, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002748/0.4778, allocations: 2.734 MB / 0.9524 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.4803, allocations: 2.782 MB / 0.9551 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.4804, allocations: 8.188 kB / 0.9551 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.4814, allocations: 0.4889 MB / 0.9556 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.4818, allocations: 255.2 kB / 0.9558 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.4824, allocations: 399 kB / 0.9562 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.4834, allocations: 1.531 MB / 0.9577 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.4836, allocations: 135.5 kB / 0.9578 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.484, allocations: 474.3 kB / 0.9583 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.4844, allocations: 418.2 kB / 0.9587 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.461e-05/0.4845, allocations: 47.84 kB / 0.9587 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.4846, allocations: 53.22 kB / 0.9588 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.4848, allocations: 261.8 kB / 0.959 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.4851, allocations: 368.5 kB / 0.9594 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.4856, allocations: 0.9066 MB / 0.9603 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.4856, allocations: 3.219 kB / 0.9603 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4856, allocations: 0 / 0.9603 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4856, allocations: 0 / 0.9603 GB, free: 1.758 MB / 0.7169 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.001603/0.4872, allocations: 1.149 MB / 0.9614 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.4873, allocations: 8.875 kB / 0.9614 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.4873, allocations: 64.78 kB / 0.9615 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.4875, allocations: 77.5 kB / 0.9615 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.4882, allocations: 0.6461 MB / 0.9622 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4882, allocations: 32.28 kB / 0.9622 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.4883, allocations: 42.22 kB / 0.9622 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.4887, allocations: 375 kB / 0.9626 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.4887, allocations: 1.125 kB / 0.9626 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.4887, allocations: 6.5 kB / 0.9626 GB, free: 4 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4888, allocations: 9.594 kB / 0.9626 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.4891, allocations: 236.1 kB / 0.9628 GB, free: 15.89 MB / 0.7325 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.003001/0.4921, allocations: 2.456 MB / 0.9652 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.493, allocations: 403.8 kB / 0.9656 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.4932, allocations: 141.8 kB / 0.9657 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.4932, allocations: 6.156 kB / 0.9658 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.4933, allocations: 31.53 kB / 0.9658 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.4933, allocations: 0 / 0.9658 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008126/0.4941, allocations: 0.5309 MB / 0.9663 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.4941, allocations: 56.59 kB / 0.9664 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/0.4951, allocations: 0.9424 MB / 0.9673 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.4951, allocations: 35.2 kB / 0.9673 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.4954, allocations: 300.8 kB / 0.9676 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.4954, allocations: 73.03 kB / 0.9677 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4956, allocations: 122.3 kB / 0.9678 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4957, allocations: 380 kB / 0.9681 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.496, allocations: 240.9 kB / 0.9684 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.4965, allocations: 0.4997 MB / 0.9689 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/0.4972, allocations: 0.697 MB / 0.9695 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4972, allocations: 3.281 kB / 0.9695 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00103/0.4982, allocations: 0.813 MB / 0.9703 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4982, allocations: 9.688 kB / 0.9704 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4983, allocations: 8.688 kB / 0.9704 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.4984, allocations: 56.34 kB / 0.9704 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.4988, allocations: 142.3 kB / 0.9705 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.4998, allocations: 1.543 MB / 0.9721 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.5004, allocations: 126.4 kB / 0.9722 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.5005, allocations: 26.84 kB / 0.9722 GB, free: 8.5 MB / 0.7325 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.0002828/0.5008, allocations: 342 kB / 0.9725 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.5008, allocations: 65.53 kB / 0.9726 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.356e-05/0.5009, allocations: 71.06 kB / 0.9727 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.501, allocations: 2.75 kB / 0.9727 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.501, allocations: 4.062 kB / 0.9727 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.501, allocations: 5.203 kB / 0.9727 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.5015, allocations: 0.5715 MB / 0.9732 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5015, allocations: 7.922 kB / 0.9732 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.5018, allocations: 46.09 kB / 0.9733 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.5019, allocations: 44.72 kB / 0.9733 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5019, allocations: 3.969 kB / 0.9733 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009265/0.5028, allocations: 1.529 MB / 0.9748 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5028, allocations: 0 / 0.9748 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.5035, allocations: 0.5659 MB / 0.9754 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.5037, allocations: 195.9 kB / 0.9756 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.5038, allocations: 12.3 kB / 0.9756 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.5041, allocations: 53.86 kB / 0.9756 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.5042, allocations: 9.328 kB / 0.9756 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.5042, allocations: 4.156 kB / 0.9756 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007042/0.5049, allocations: 0.6637 MB / 0.9763 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5049, allocations: 0 / 0.9763 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005365/0.5054, allocations: 182 kB / 0.9765 GB, free: 5.164 MB / 0.7325 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.0008751/0.5063, allocations: 1.128 MB / 0.9776 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007608/0.5071, allocations: 0.601 MB / 0.9781 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5071, allocations: 3.938 kB / 0.9781 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.5074, allocations: 246.9 kB / 0.9784 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.5081, allocations: 167.1 kB / 0.9785 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007175/0.5153, allocations: 7.038 MB / 0.9854 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.5158, allocations: 1.018 MB / 0.9864 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003516/0.5162, allocations: 180.5 kB / 0.9866 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.5164, allocations: 203.4 kB / 0.9868 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.5165, allocations: 0 / 0.9868 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3455/0.8619, allocations: 14.04 MB / 1 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.82, allocations: 11.25 kB / 1 GB, free: 12.52 MB / 0.7637 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)