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.0009302/0.0009301, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00524/0.00524, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.262 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.559/2.559, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 8 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5521, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002833/0.5549, allocations: 2.415 MB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.5586, allocations: 2.753 MB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.5589, allocations: 7.938 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.5601, allocations: 458.4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.5607, allocations: 247 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.5615, allocations: 323.3 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.5633, allocations: 1.715 MB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.5635, allocations: 121.7 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.5642, allocations: 402.8 kB / 1.031 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.5647, allocations: 398.6 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.5648, allocations: 20 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.5649, allocations: 28 kB / 1.032 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.5652, allocations: 239.2 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.5655, allocations: 347.9 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.5662, allocations: 0.8603 MB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5662, allocations: 4 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5662, allocations: 0 / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.5663, allocations: 0 / 1.033 GB, free: 5.504 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.001828/0.5681, allocations: 1.039 MB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5681, allocations: 11.97 kB / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.5682, allocations: 62.73 kB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.5683, allocations: 76 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.5693, allocations: 0.6525 MB / 1.035 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.5693, allocations: 28.94 kB / 1.035 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.5694, allocations: 40.38 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.5699, allocations: 374.6 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.5699, allocations: 4 kB / 1.035 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.57, allocations: 12 kB / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.57, allocations: 8 kB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.5704, allocations: 237.5 kB / 1.036 GB, free: 2.855 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.003378/0.5738, allocations: 2.478 MB / 1.038 GB, free: 192 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.5747, allocations: 402.4 kB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.575, allocations: 140.8 kB / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.575, allocations: 0 / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.575, allocations: 34.56 kB / 1.039 GB, free: 15.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 3.507e-06/0.575, allocations: 0 / 1.039 GB, free: 15.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0009238/0.576, allocations: 0.5476 MB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.576, allocations: 51.41 kB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5772, allocations: 0.9376 MB / 1.04 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.5772, allocations: 33.7 kB / 1.04 GB, free: 13.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.5775, allocations: 304.4 kB / 1.04 GB, free: 13.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.5775, allocations: 59.11 kB / 1.04 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.5776, allocations: 77.67 kB / 1.041 GB, free: 13.54 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.5778, allocations: 382.7 kB / 1.041 GB, free: 13.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.5781, allocations: 236.9 kB / 1.041 GB, free: 12.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.5787, allocations: 0.5052 MB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.5795, allocations: 0.7162 MB / 1.042 GB, free: 11.45 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.5795, allocations: 0 / 1.042 GB, free: 11.45 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001214/0.5807, allocations: 0.8178 MB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5808, allocations: 8 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.5808, allocations: 15.88 kB / 1.043 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.581, allocations: 52.83 kB / 1.043 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.5814, allocations: 143.7 kB / 1.043 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.5825, allocations: 1.436 MB / 1.045 GB, free: 8.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.5832, allocations: 131.3 kB / 1.045 GB, free: 8.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.5832, allocations: 28 kB / 1.045 GB, free: 8.68 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.0003288/0.5836, allocations: 342.5 kB / 1.045 GB, free: 8.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.5837, allocations: 59.25 kB / 1.045 GB, free: 8.277 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.5838, allocations: 73.88 kB / 1.045 GB, free: 8.199 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5838, allocations: 4 kB / 1.045 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5838, allocations: 0 / 1.045 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5838, allocations: 0 / 1.045 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.5844, allocations: 0.5869 MB / 1.046 GB, free: 7.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5844, allocations: 0 / 1.046 GB, free: 7.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.5847, allocations: 47.95 kB / 1.046 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.5848, allocations: 44.77 kB / 1.046 GB, free: 7.465 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.5849, allocations: 11.92 kB / 1.046 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009661/0.5858, allocations: 1.416 MB / 1.047 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5859, allocations: 0 / 1.047 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.5866, allocations: 0.5752 MB / 1.048 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5868, allocations: 204.2 kB / 1.048 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.5869, allocations: 11.98 kB / 1.048 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.5873, allocations: 47.92 kB / 1.048 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.5874, allocations: 15.98 kB / 1.048 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5874, allocations: 4 kB / 1.048 GB, free: 5.012 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007964/0.5882, allocations: 0.6629 MB / 1.049 GB, free: 4.355 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5882, allocations: 0 / 1.049 GB, free: 4.355 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005845/0.5888, allocations: 179.8 kB / 1.049 GB, free: 4.18 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.0009772/0.5898, allocations: 1.128 MB / 1.05 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000807/0.5906, allocations: 0.5702 MB / 1.051 GB, free: 2.438 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5906, allocations: 0.6875 kB / 1.051 GB, free: 2.438 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.5909, allocations: 259.6 kB / 1.051 GB, free: 2.172 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.5917, allocations: 163.5 kB / 1.051 GB, free: 2.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009474/0.6012, allocations: 7.31 MB / 1.058 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.6018, allocations: 1.003 MB / 1.059 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000394/0.6022, allocations: 184.5 kB / 1.059 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.6025, allocations: 207.4 kB / 1.06 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.6025, allocations: 4 kB / 1.06 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.174/1.777, allocations: 13.4 MB / 1.073 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/1.777, allocations: 220.8 kB / 1.073 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.782, allocations: 4 kB / 1.073 GB, free: 11.57 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)