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.001473/0.001473, 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.001713/0.001713, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.284/2.284, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4625, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003465/0.466, allocations: 2.743 MB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.4693, allocations: 2.785 MB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.4694, allocations: 8 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.4705, allocations: 494 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.4709, allocations: 258.5 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.4717, allocations: 395 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.4729, allocations: 1.532 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.4731, allocations: 132.1 kB / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.4736, allocations: 478.8 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.4741, allocations: 414.6 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.4742, allocations: 48 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4743, allocations: 56 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.4746, allocations: 255.3 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.4749, allocations: 378.1 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.4755, allocations: 0.9035 MB / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4755, allocations: 0 / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4755, allocations: 0 / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.4756, allocations: 0 / 1.028 GB, free: 7.621 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.001705/0.4773, allocations: 1.152 MB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.4773, allocations: 8.031 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/0.4774, allocations: 58.72 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4775, allocations: 83.94 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.4783, allocations: 0.6486 MB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4783, allocations: 28.94 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.4784, allocations: 36.38 kB / 1.03 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.4789, allocations: 378.7 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4789, allocations: 3.938 kB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.4789, allocations: 8 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4789, allocations: 8 kB / 1.03 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.4793, allocations: 229.5 kB / 1.031 GB, free: 4.871 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.003086/0.4824, allocations: 2.459 MB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.4833, allocations: 402.4 kB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.4835, allocations: 140.8 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.4835, allocations: 4 kB / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.4835, allocations: 34.56 kB / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.223e-06/0.4835, allocations: 0 / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008374/0.4844, allocations: 0.53 MB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.4844, allocations: 59.41 kB / 1.034 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009889/0.4854, allocations: 0.9337 MB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.4855, allocations: 41.64 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.4857, allocations: 304.4 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.4858, allocations: 67.08 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.4859, allocations: 122.2 kB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4861, allocations: 382.7 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.4864, allocations: 244.9 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.4868, allocations: 0.4975 MB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.4876, allocations: 0.696 MB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4876, allocations: 4 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001064/0.4886, allocations: 0.8137 MB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4887, allocations: 9.719 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4887, allocations: 8 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.4889, allocations: 61.12 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.4893, allocations: 143.8 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.4904, allocations: 1.542 MB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.491, allocations: 119.2 kB / 1.04 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.491, allocations: 31.98 kB / 1.04 GB, free: 10.58 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.0002944/0.4913, allocations: 338.1 kB / 1.04 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.4914, allocations: 71.08 kB / 1.04 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/0.4915, allocations: 70.06 kB / 1.04 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4915, allocations: 4 kB / 1.04 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.4915, allocations: 3.938 kB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4915, allocations: 3.938 kB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.4921, allocations: 0.583 MB / 1.041 GB, free: 9.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4921, allocations: 3.938 kB / 1.041 GB, free: 9.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4923, allocations: 43.97 kB / 1.041 GB, free: 9.398 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.4924, allocations: 48.81 kB / 1.041 GB, free: 9.348 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.4925, allocations: 8 kB / 1.041 GB, free: 9.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009741/0.4935, allocations: 1.515 MB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4935, allocations: 0 / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.4941, allocations: 0.5669 MB / 1.043 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.4944, allocations: 200.4 kB / 1.043 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.4944, allocations: 11.98 kB / 1.043 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.4948, allocations: 55.98 kB / 1.043 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4949, allocations: 7.984 kB / 1.043 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4949, allocations: 8 kB / 1.043 GB, free: 6.805 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007285/0.4956, allocations: 0.6629 MB / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4956, allocations: 0 / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005334/0.4962, allocations: 187.8 kB / 1.044 GB, free: 5.965 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.0009114/0.4971, allocations: 1.116 MB / 1.045 GB, free: 4.816 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008013/0.4979, allocations: 0.6019 MB / 1.046 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4979, allocations: 0 / 1.046 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.4982, allocations: 255.6 kB / 1.046 GB, free: 3.941 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.4989, allocations: 164.3 kB / 1.046 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.5063, allocations: 7.053 MB / 1.053 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.5068, allocations: 1.003 MB / 1.054 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003614/0.5072, allocations: 184.5 kB / 1.054 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.5075, allocations: 203.4 kB / 1.054 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.5075, allocations: 0 / 1.054 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7011/1.209, allocations: 14.04 MB / 1.068 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.92, allocations: 9.188 kB / 1.068 GB, free: 13.16 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)