Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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.0008594/0.0008594, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008675/0.0008675, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.4 MB / 0.6655 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8 kB / 0.8149 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8712, allocations: 142.3 MB / 0.9538 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003493/0.8748, allocations: 3.208 MB / 0.957 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004223/0.879, allocations: 2.366 MB / 0.9593 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.8797, allocations: 11.38 kB / 0.9593 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008425/0.8805, allocations: 206.7 kB / 0.9595 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.8817, allocations: 452.2 kB / 0.9599 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.8832, allocations: 433 kB / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.8854, allocations: 1.303 MB / 0.9616 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.8857, allocations: 112.2 kB / 0.9617 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.8864, allocations: 390.1 kB / 0.9621 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.8871, allocations: 479.8 kB / 0.9625 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/0.8872, allocations: 29.84 kB / 0.9626 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.8874, allocations: 31.44 kB / 0.9626 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.8877, allocations: 327.2 kB / 0.9629 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.888, allocations: 188.8 kB / 0.9631 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.8886, allocations: 0.6738 MB / 0.9638 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8886, allocations: 3.938 kB / 0.9638 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8886, allocations: 0 / 0.9638 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.8886, allocations: 0 / 0.9638 GB, free: 0.8867 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001765/0.8904, allocations: 1.126 MB / 0.9649 GB, free: 28 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.8905, allocations: 9.062 kB / 0.9649 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.221e-05/0.8906, allocations: 69.88 kB / 0.9649 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.8907, allocations: 109.6 kB / 0.965 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.8918, allocations: 0.6138 MB / 0.9656 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.8918, allocations: 37.47 kB / 0.9657 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.8919, allocations: 60.75 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.8926, allocations: 398.4 kB / 0.9661 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.8926, allocations: 5.125 kB / 0.9661 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.8927, allocations: 15.06 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.8927, allocations: 8.625 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.8931, allocations: 225.7 kB / 0.9664 GB, free: 14.98 MB / 0.7325 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.003119/0.8962, allocations: 2.516 MB / 0.9688 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.8976, allocations: 485.6 kB / 0.9693 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.8979, allocations: 161.2 kB / 0.9694 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.8979, allocations: 3.609 kB / 0.9694 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8979, allocations: 35.77 kB / 0.9695 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 3.717e-06/0.8979, allocations: 5 kB / 0.9695 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002365/0.9003, allocations: 1.203 MB / 0.9706 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.9004, allocations: 62.8 kB / 0.9707 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.9017, allocations: 0.9125 MB / 0.9716 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.9017, allocations: 40.17 kB / 0.9716 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.902, allocations: 363 kB / 0.972 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.9021, allocations: 113.6 kB / 0.9721 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.9022, allocations: 15.12 kB / 0.9721 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.9024, allocations: 404.6 kB / 0.9725 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.9027, allocations: 226 kB / 0.9727 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.9034, allocations: 0.6227 MB / 0.9733 GB, free: 9.367 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.9057, allocations: 1.096 MB / 0.9744 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.9058, allocations: 3.812 kB / 0.9744 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001504/0.9073, allocations: 0.8959 MB / 0.9753 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.9073, allocations: 15.53 kB / 0.9753 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.9073, allocations: 14.69 kB / 0.9753 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.9075, allocations: 51.33 kB / 0.9753 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.9082, allocations: 210.5 kB / 0.9755 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.9094, allocations: 1.361 MB / 0.9769 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008104/0.9102, allocations: 66.16 kB / 0.9769 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.9103, allocations: 38.81 kB / 0.977 GB, free: 6.777 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004282/0.9107, allocations: 297.2 kB / 0.9773 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.9108, allocations: 79.12 kB / 0.9773 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.911, allocations: 74.59 kB / 0.9774 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.911, allocations: 6.984 kB / 0.9774 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.911, allocations: 1.625 kB / 0.9774 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.911, allocations: 7.953 kB / 0.9774 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.9127, allocations: 1.138 MB / 0.9785 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9127, allocations: 5.453 kB / 0.9785 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.9131, allocations: 86.41 kB / 0.9786 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.9132, allocations: 32.77 kB / 0.9786 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.9132, allocations: 9.406 kB / 0.9787 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008889/0.9141, allocations: 1.333 MB / 0.98 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9141, allocations: 1.062 kB / 0.98 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.915, allocations: 0.6524 MB / 0.9806 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.9153, allocations: 204.1 kB / 0.9808 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.9154, allocations: 8 kB / 0.9808 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.9158, allocations: 27.95 kB / 0.9808 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.9159, allocations: 23.91 kB / 0.9808 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.9159, allocations: 12 kB / 0.9809 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007862/0.9167, allocations: 0.6083 MB / 0.9815 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9167, allocations: 4 kB / 0.9815 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008659/0.9176, allocations: 208 kB / 0.9817 GB, free: 2.543 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/0.9188, allocations: 1.223 MB / 0.9829 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.9201, allocations: 0.6454 MB / 0.9835 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9201, allocations: 4 kB / 0.9835 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.9204, allocations: 268.4 kB / 0.9837 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.9214, allocations: 167.2 kB / 0.9839 GB, free: 180 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008927/0.9303, allocations: 5.486 MB / 0.9893 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.931, allocations: 0.9876 MB / 0.9902 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000558/0.9316, allocations: 153.8 kB / 0.9904 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.932, allocations: 295.3 kB / 0.9906 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of SimCode: time 1.783e-06/0.932, allocations: 0 / 0.9906 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.9654, allocations: 15.69 MB / 1.006 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.9656, allocations: 207.6 kB / 1.006 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/3.017, allocations: 3.938 kB / 1.006 GB, free: 9.227 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat does not exist to compare? outputFormat=mat