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.001057/0.001057, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001089/0.001089, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.085/2.085, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5118, allocations: 140.4 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003339/0.5152, allocations: 2.782 MB / 0.9519 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003037/0.5182, allocations: 2.754 MB / 0.9546 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.5185, allocations: 7.344 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5198, allocations: 466.8 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005366/0.5204, allocations: 248.7 kB / 0.9553 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.5213, allocations: 352.6 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.5228, allocations: 1.555 MB / 0.9572 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.523, allocations: 139.9 kB / 0.9573 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.5237, allocations: 495.5 kB / 0.9578 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.5244, allocations: 435.5 kB / 0.9582 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.5245, allocations: 48.25 kB / 0.9582 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.5247, allocations: 61.06 kB / 0.9583 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.5249, allocations: 262.5 kB / 0.9585 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.5252, allocations: 380.4 kB / 0.9589 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.5257, allocations: 0.8958 MB / 0.9598 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5258, allocations: 0 / 0.9598 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5258, allocations: 0 / 0.9598 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.5258, allocations: 0 / 0.9598 GB, free: 1.668 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.001612/0.5274, allocations: 1.151 MB / 0.9609 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.5274, allocations: 13.48 kB / 0.9609 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.5275, allocations: 63.83 kB / 0.961 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.5276, allocations: 78.72 kB / 0.9611 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.5283, allocations: 0.6533 MB / 0.9617 GB, free: 196 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.5283, allocations: 27.62 kB / 0.9617 GB, free: 184 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.5284, allocations: 38.22 kB / 0.9618 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.5289, allocations: 375.8 kB / 0.9621 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5289, allocations: 1.062 kB / 0.9621 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.5289, allocations: 14.19 kB / 0.9621 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.529, allocations: 5.594 kB / 0.9621 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.5293, allocations: 235.4 kB / 0.9624 GB, free: 15.79 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.003226/0.5326, allocations: 2.452 MB / 0.9648 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/0.5335, allocations: 407.2 kB / 0.9651 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5337, allocations: 137.7 kB / 0.9653 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.5337, allocations: 2.594 kB / 0.9653 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5338, allocations: 35.81 kB / 0.9653 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.5338, allocations: 0 / 0.9653 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008927/0.5347, allocations: 0.5335 MB / 0.9658 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.5347, allocations: 57.59 kB / 0.9659 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5358, allocations: 0.9339 MB / 0.9668 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.5358, allocations: 36.33 kB / 0.9668 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.536, allocations: 303.6 kB / 0.9671 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.5361, allocations: 64.56 kB / 0.9672 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.5363, allocations: 130.8 kB / 0.9673 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5364, allocations: 384.8 kB / 0.9677 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.5367, allocations: 236.4 kB / 0.9679 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.5372, allocations: 0.5002 MB / 0.9684 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.5379, allocations: 0.6971 MB / 0.9691 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.538, allocations: 2.656 kB / 0.9691 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001099/0.5391, allocations: 0.8127 MB / 0.9699 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5391, allocations: 13.55 kB / 0.9699 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5391, allocations: 8.844 kB / 0.9699 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.5393, allocations: 56.05 kB / 0.9699 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.5397, allocations: 142.9 kB / 0.9701 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.5409, allocations: 1.539 MB / 0.9716 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/0.5415, allocations: 128 kB / 0.9717 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.5415, allocations: 31.5 kB / 0.9717 GB, free: 8.406 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.0003058/0.5419, allocations: 342 kB / 0.9721 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.542, allocations: 66.34 kB / 0.9721 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.5421, allocations: 70.91 kB / 0.9722 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5421, allocations: 1.344 kB / 0.9722 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5421, allocations: 5.438 kB / 0.9722 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.5421, allocations: 0 / 0.9722 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.5427, allocations: 0.571 MB / 0.9728 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5427, allocations: 9.125 kB / 0.9728 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.543, allocations: 46.17 kB / 0.9728 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.5431, allocations: 40.89 kB / 0.9728 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.5431, allocations: 11.95 kB / 0.9729 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/0.5441, allocations: 1.525 MB / 0.9743 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5441, allocations: 0 / 0.9743 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.5448, allocations: 0.5709 MB / 0.9749 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.545, allocations: 204.6 kB / 0.9751 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.5451, allocations: 3.656 kB / 0.9751 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.5455, allocations: 54.83 kB / 0.9752 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.5456, allocations: 13.8 kB / 0.9752 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.5456, allocations: 11.14 kB / 0.9752 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000754/0.5463, allocations: 0.656 MB / 0.9758 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5463, allocations: 0 / 0.9758 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000569/0.5469, allocations: 183.9 kB / 0.976 GB, free: 5.066 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.0009327/0.5479, allocations: 1.121 MB / 0.9771 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008027/0.5487, allocations: 0.5955 MB / 0.9777 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5487, allocations: 4 kB / 0.9777 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.549, allocations: 248 kB / 0.9779 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.5497, allocations: 175.5 kB / 0.9781 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008935/0.5587, allocations: 7.172 MB / 0.9851 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.5592, allocations: 1.014 MB / 0.9861 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003769/0.5596, allocations: 184.5 kB / 0.9862 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.5599, allocations: 207.4 kB / 0.9864 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.5599, allocations: 4 kB / 0.9864 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.471/2.031, allocations: 13.93 MB / 1 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/2.031, allocations: 215.9 kB / 1 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/4.043, allocations: 0 / 1 GB, free: 12.48 MB / 0.7637 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)