Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ConductorMultiLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_10_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.001271/0.001271, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001284/0.001284, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.388/2.388, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 75.88 kB / 0.8688 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4984, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003472/0.5019, allocations: 2.769 MB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.5051, allocations: 2.772 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.5053, allocations: 7.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.5064, allocations: 458.4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.5068, allocations: 243.1 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.5076, allocations: 363.3 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.509, allocations: 1.559 MB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.5092, allocations: 134.3 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.5098, allocations: 498.7 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/0.5103, allocations: 434.6 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.5104, allocations: 48 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.5105, allocations: 52 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.5107, allocations: 263.3 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.5111, allocations: 374.2 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.5117, allocations: 0.8996 MB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.5118, allocations: 0 / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5118, allocations: 0 / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.5118, allocations: 4 kB / 1.027 GB, free: 7.969 MB / 0.7794 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.5136, allocations: 1.14 MB / 1.029 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.5136, allocations: 12.03 kB / 1.029 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.5137, allocations: 58.72 kB / 1.029 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.5138, allocations: 80 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.5146, allocations: 0.6525 MB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.5147, allocations: 28.94 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.5147, allocations: 40.38 kB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.5152, allocations: 374.7 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5153, allocations: 3.938 kB / 1.03 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.5153, allocations: 12 kB / 1.03 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.5153, allocations: 8 kB / 1.03 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.5157, allocations: 233.5 kB / 1.03 GB, free: 5.223 MB / 0.7794 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.003245/0.5189, allocations: 2.459 MB / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.5199, allocations: 398.4 kB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.5201, allocations: 140.8 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.5201, allocations: 4 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.5201, allocations: 30.56 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.5201, allocations: 4 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008882/0.521, allocations: 0.5352 MB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.5211, allocations: 55.41 kB / 1.034 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5221, allocations: 0.9415 MB / 1.034 GB, free: 420 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.5221, allocations: 33.7 kB / 1.035 GB, free: 380 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.5224, allocations: 304.3 kB / 1.035 GB, free: 72 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.5224, allocations: 71.09 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5226, allocations: 126.2 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5228, allocations: 378.7 kB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.5231, allocations: 240.9 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.5236, allocations: 0.5014 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.5243, allocations: 0.6983 MB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5243, allocations: 4 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001098/0.5254, allocations: 0.8111 MB / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5254, allocations: 8 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5255, allocations: 12 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.5256, allocations: 56.75 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.5261, allocations: 140 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.5272, allocations: 1.546 MB / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.5278, allocations: 127.2 kB / 1.039 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.5279, allocations: 28 kB / 1.039 GB, free: 10.92 MB / 0.795 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.0003072/0.5282, allocations: 342.7 kB / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.5283, allocations: 67.16 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.5284, allocations: 70 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5284, allocations: 4 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.5284, allocations: 3.938 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.5284, allocations: 0 / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.529, allocations: 0.5752 MB / 1.04 GB, free: 9.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.529, allocations: 3.938 kB / 1.04 GB, free: 9.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.5293, allocations: 55.95 kB / 1.041 GB, free: 9.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.5294, allocations: 44.83 kB / 1.041 GB, free: 9.695 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5294, allocations: 4 kB / 1.041 GB, free: 9.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009921/0.5304, allocations: 1.523 MB / 1.042 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5304, allocations: 0 / 1.042 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.5311, allocations: 0.5694 MB / 1.043 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.5314, allocations: 204.4 kB / 1.043 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.493e-05/0.5314, allocations: 8 kB / 1.043 GB, free: 7.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.5318, allocations: 55.77 kB / 1.043 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.5319, allocations: 7.984 kB / 1.043 GB, free: 7.156 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.5319, allocations: 4 kB / 1.043 GB, free: 7.152 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007601/0.5327, allocations: 0.6629 MB / 1.044 GB, free: 6.496 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5327, allocations: 3.938 kB / 1.044 GB, free: 6.492 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005538/0.5332, allocations: 179.8 kB / 1.044 GB, free: 6.316 MB / 0.795 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.0009348/0.5342, allocations: 1.13 MB / 1.045 GB, free: 5.156 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008219/0.535, allocations: 0.5958 MB / 1.045 GB, free: 4.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.535, allocations: 4.062 kB / 1.045 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.5353, allocations: 246.5 kB / 1.046 GB, free: 4.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.5361, allocations: 173.1 kB / 1.046 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009049/0.5451, allocations: 7.182 MB / 1.053 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.5457, allocations: 1.01 MB / 1.054 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.5461, allocations: 184.5 kB / 1.054 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.5464, allocations: 207.4 kB / 1.054 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.5464, allocations: 0 / 1.054 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.05/1.597, allocations: 13.93 MB / 1.068 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/1.597, allocations: 225.3 kB / 1.068 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.569/5.166, allocations: 3.938 kB / 1.068 GB, free: 13.27 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)