Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_10_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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001443/0.001443, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.293/1.293, 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 10.1.1-maint.10.0.x/package.mo): time 2.31/2.31, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/0.5121, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003711/0.5159, allocations: 2.729 MB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003693/0.5196, allocations: 2.791 MB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.5198, allocations: 7.938 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.5214, allocations: 498 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.5219, allocations: 254.9 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.5228, allocations: 395 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.5241, allocations: 1.536 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.5243, allocations: 130.3 kB / 1.026 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.5248, allocations: 474.8 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.5253, allocations: 418.6 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.5254, allocations: 48 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.5255, allocations: 52 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.5258, allocations: 263.3 kB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.5261, allocations: 370.2 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007302/0.5269, allocations: 0.9034 MB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5269, allocations: 0 / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5269, allocations: 4 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.5269, allocations: 0 / 1.028 GB, free: 7.594 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.001799/0.5287, allocations: 1.148 MB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5288, allocations: 12.03 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.193e-05/0.5288, allocations: 58.72 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.5289, allocations: 80 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/0.5298, allocations: 0.6448 MB / 1.03 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.5298, allocations: 28.94 kB / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.5299, allocations: 40.38 kB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.5303, allocations: 378.6 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5304, allocations: 3.938 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.5304, allocations: 8 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.5304, allocations: 8 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.5308, allocations: 237.5 kB / 1.031 GB, free: 4.84 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.003072/0.5339, allocations: 2.463 MB / 1.033 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/0.5347, allocations: 394.5 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.5349, allocations: 140.7 kB / 1.033 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.535, allocations: 4 kB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.535, allocations: 34.56 kB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.535, allocations: 0 / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.000877/0.5359, allocations: 0.527 MB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.5359, allocations: 59.34 kB / 1.034 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5369, allocations: 0.9415 MB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.537, allocations: 29.78 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.5372, allocations: 308.3 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.5373, allocations: 71.09 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.5374, allocations: 118.2 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5376, allocations: 382.7 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.5379, allocations: 240.9 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.5383, allocations: 0.5014 MB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/0.539, allocations: 0.6995 MB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.539, allocations: 8 kB / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001052/0.5401, allocations: 0.8118 MB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5401, allocations: 12 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5401, allocations: 8 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.5403, allocations: 56.81 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.5407, allocations: 135.7 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.5418, allocations: 1.558 MB / 1.04 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.5424, allocations: 119.2 kB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.5424, allocations: 28 kB / 1.04 GB, free: 10.55 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.0002933/0.5427, allocations: 341.4 kB / 1.04 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.5428, allocations: 67.09 kB / 1.04 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.5429, allocations: 66 kB / 1.04 GB, free: 10.06 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5429, allocations: 8.062 kB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5429, allocations: 0 / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5429, allocations: 3.984 kB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.5435, allocations: 0.5713 MB / 1.041 GB, free: 9.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.5435, allocations: 7.922 kB / 1.041 GB, free: 9.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.5437, allocations: 51.91 kB / 1.041 GB, free: 9.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.5438, allocations: 36.81 kB / 1.041 GB, free: 9.332 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.5438, allocations: 11.94 kB / 1.041 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009232/0.5448, allocations: 1.531 MB / 1.043 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5448, allocations: 0 / 1.043 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.5455, allocations: 0.5672 MB / 1.043 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.5457, allocations: 196.3 kB / 1.043 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.5458, allocations: 11.98 kB / 1.043 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.5461, allocations: 51.92 kB / 1.043 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.5462, allocations: 11.98 kB / 1.043 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.5462, allocations: 4 kB / 1.043 GB, free: 6.777 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007165/0.5469, allocations: 0.6629 MB / 1.044 GB, free: 6.121 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5469, allocations: 3.938 kB / 1.044 GB, free: 6.117 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005333/0.5475, allocations: 183.8 kB / 1.044 GB, free: 5.938 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.0009066/0.5484, allocations: 1.116 MB / 1.045 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007907/0.5492, allocations: 0.6016 MB / 1.046 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5492, allocations: 0 / 1.046 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.5495, allocations: 249 kB / 1.046 GB, free: 3.922 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.5502, allocations: 173 kB / 1.046 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/0.5574, allocations: 7.044 MB / 1.053 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.5579, allocations: 1.01 MB / 1.054 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000364/0.5583, allocations: 184.5 kB / 1.054 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.5586, allocations: 203.4 kB / 1.054 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.5586, allocations: 3.938 kB / 1.054 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/1.619, allocations: 14.04 MB / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.84, allocations: 2.281 kB / 1.068 GB, free: 13.14 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)