Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.001297/0.001298, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001238/0.001238, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.179/1.179, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.237/2.237, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4539, allocations: 151.6 MB / 1.017 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003304/0.4573, allocations: 2.788 MB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.4605, allocations: 2.799 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.4607, allocations: 7.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.4619, allocations: 466.2 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.4623, allocations: 247 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.463, allocations: 328.3 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.4645, allocations: 1.715 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.4647, allocations: 129.7 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.4652, allocations: 398.8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.4657, allocations: 406.5 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.4658, allocations: 20 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4659, allocations: 32 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.4661, allocations: 227.3 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.4664, allocations: 334.2 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.467, allocations: 0.8761 MB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.467, allocations: 0 / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.32e-07/0.467, allocations: 8 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.4671, allocations: 0 / 1.027 GB, free: 8.133 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.001736/0.4688, allocations: 1.14 MB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4688, allocations: 12.03 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.4689, allocations: 58.72 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.469, allocations: 80 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.4698, allocations: 0.6525 MB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4699, allocations: 28.94 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.4699, allocations: 44.38 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.4704, allocations: 374.6 kB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4704, allocations: 0 / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.4704, allocations: 8 kB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4705, allocations: 8 kB / 1.03 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.4708, allocations: 241.5 kB / 1.03 GB, free: 5.383 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.003095/0.4739, allocations: 2.455 MB / 1.032 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.4748, allocations: 394.4 kB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.475, allocations: 144.8 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.475, allocations: 0 / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.475, allocations: 30.56 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.475, allocations: 4 kB / 1.033 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008255/0.4759, allocations: 0.5324 MB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.4759, allocations: 59.41 kB / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.4769, allocations: 0.9414 MB / 1.034 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.477, allocations: 33.7 kB / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.4772, allocations: 300.4 kB / 1.034 GB, free: 248 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.4772, allocations: 71.09 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.4774, allocations: 130.1 kB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4775, allocations: 382.6 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.4778, allocations: 240.9 kB / 1.035 GB, free: 15.42 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.4783, allocations: 0.5014 MB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.479, allocations: 0.6999 MB / 1.036 GB, free: 13.96 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.479, allocations: 4 kB / 1.036 GB, free: 13.96 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001041/0.48, allocations: 0.8134 MB / 1.037 GB, free: 13.13 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4801, allocations: 8 kB / 1.037 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4801, allocations: 15.98 kB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.4803, allocations: 49.3 kB / 1.037 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.4807, allocations: 143.8 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009413/0.4816, allocations: 1.436 MB / 1.039 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.4822, allocations: 127.2 kB / 1.039 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.4823, allocations: 28 kB / 1.039 GB, free: 11.2 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.000289/0.4826, allocations: 344.9 kB / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.4827, allocations: 67.14 kB / 1.039 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.4828, allocations: 70.03 kB / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4828, allocations: 4 kB / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4828, allocations: 4 kB / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4828, allocations: 0 / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.4833, allocations: 0.5791 MB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.4833, allocations: 0 / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4836, allocations: 47.95 kB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.4837, allocations: 36.83 kB / 1.04 GB, free: 9.992 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.4837, allocations: 19.92 kB / 1.04 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008431/0.4846, allocations: 1.409 MB / 1.042 GB, free: 8.43 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4846, allocations: 4.156 kB / 1.042 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.4852, allocations: 0.5675 MB / 1.042 GB, free: 7.84 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.4854, allocations: 200.3 kB / 1.042 GB, free: 7.625 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.4855, allocations: 8 kB / 1.042 GB, free: 7.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.4859, allocations: 47.83 kB / 1.042 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.486, allocations: 19.97 kB / 1.042 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.486, allocations: 8.062 kB / 1.042 GB, free: 7.543 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000711/0.4867, allocations: 0.6668 MB / 1.043 GB, free: 6.883 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4867, allocations: 0 / 1.043 GB, free: 6.883 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000531/0.4872, allocations: 175.8 kB / 1.043 GB, free: 6.711 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.0008494/0.4881, allocations: 1.12 MB / 1.044 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.4888, allocations: 0.5708 MB / 1.045 GB, free: 4.977 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4888, allocations: 1.938 kB / 1.045 GB, free: 4.977 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.4891, allocations: 250.5 kB / 1.045 GB, free: 4.719 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.4899, allocations: 176.9 kB / 1.045 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008357/0.4982, allocations: 7.181 MB / 1.052 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.4987, allocations: 1.01 MB / 1.053 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003618/0.4991, allocations: 184.5 kB / 1.053 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.4993, allocations: 215.3 kB / 1.054 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.4993, allocations: 0 / 1.054 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8603/1.36, allocations: 13.58 MB / 1.067 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.36, allocations: 222.9 kB / 1.067 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/3.377, allocations: 0 / 1.067 GB, free: 14.01 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)