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.001111/0.001111, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001265/0.001265, allocations: 181.3 kB / 15.95 MB, free: 220 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.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.488/2.488, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004391, allocations: 16 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8237, allocations: 142.3 MB / 0.9536 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004187/0.828, allocations: 2.991 MB / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.8326, allocations: 2.377 MB / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.8336, allocations: 12 kB / 0.9588 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.835, allocations: 286 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.8362, allocations: 391.2 kB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.8376, allocations: 439 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.8392, allocations: 0.7628 MB / 0.9606 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.8395, allocations: 115.3 kB / 0.9607 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008897/0.8404, allocations: 336.5 kB / 0.9611 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008176/0.8413, allocations: 345.4 kB / 0.9614 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.8415, allocations: 24.5 kB / 0.9614 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.8417, allocations: 27.31 kB / 0.9614 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.8421, allocations: 297.1 kB / 0.9617 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.8424, allocations: 188.3 kB / 0.9619 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.8431, allocations: 0.6467 MB / 0.9625 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.8431, allocations: 0 / 0.9625 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8431, allocations: 0 / 0.9625 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.862e-05/0.8432, allocations: 5.25 kB / 0.9625 GB, free: 1.484 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.002341/0.8455, allocations: 1.113 MB / 0.9636 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8456, allocations: 10.06 kB / 0.9636 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.514e-05/0.8457, allocations: 69 kB / 0.9637 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.8459, allocations: 103.8 kB / 0.9638 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.8471, allocations: 0.5768 MB / 0.9644 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.8471, allocations: 37.19 kB / 0.9644 GB, free: 36 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/0.8472, allocations: 56.94 kB / 0.9645 GB, free: 16 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.8479, allocations: 396.4 kB / 0.9648 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.8479, allocations: 5.062 kB / 0.9648 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.848, allocations: 12.06 kB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.848, allocations: 8.344 kB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.8484, allocations: 235.9 kB / 0.9651 GB, free: 15.61 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.003632/0.8521, allocations: 2.493 MB / 0.9675 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.8535, allocations: 497 kB / 0.968 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.8535, allocations: 3.266 kB / 0.968 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.8535, allocations: 35.86 kB / 0.968 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.8536, allocations: 1.156 kB / 0.968 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002656/0.8562, allocations: 1.202 MB / 0.9692 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.8563, allocations: 59.53 kB / 0.9693 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.8578, allocations: 0.8817 MB / 0.9701 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.8578, allocations: 36.23 kB / 0.9702 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.8582, allocations: 367.1 kB / 0.9705 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.8583, allocations: 120.5 kB / 0.9706 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.8584, allocations: 16.31 kB / 0.9706 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.8586, allocations: 399.7 kB / 0.971 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.859, allocations: 230.7 kB / 0.9712 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.8596, allocations: 0.6156 MB / 0.9718 GB, free: 10.1 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.002238/0.8619, allocations: 1.086 MB / 0.9729 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.8619, allocations: 3.656 kB / 0.9729 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001587/0.8635, allocations: 0.9042 MB / 0.9738 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.8635, allocations: 9.938 kB / 0.9738 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.8635, allocations: 14.72 kB / 0.9738 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.8638, allocations: 50.39 kB / 0.9739 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.8645, allocations: 206.7 kB / 0.9741 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.8658, allocations: 1.369 MB / 0.9754 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.8667, allocations: 53.89 kB / 0.9754 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.8668, allocations: 40.09 kB / 0.9755 GB, free: 7.527 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.0005325/0.8674, allocations: 296.7 kB / 0.9758 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.8676, allocations: 81.91 kB / 0.9758 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.8678, allocations: 79.61 kB / 0.9759 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.8678, allocations: 2.688 kB / 0.9759 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.8678, allocations: 5.281 kB / 0.9759 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8679, allocations: 0 / 0.9759 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.87, allocations: 1.129 MB / 0.977 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.87, allocations: 1.344 kB / 0.977 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.8704, allocations: 90.14 kB / 0.9771 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.8706, allocations: 33.39 kB / 0.9772 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.8706, allocations: 7.062 kB / 0.9772 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.8717, allocations: 1.343 MB / 0.9785 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8717, allocations: 1.469 kB / 0.9785 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.8729, allocations: 0.7016 MB / 0.9792 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.8733, allocations: 198.5 kB / 0.9793 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.8735, allocations: 24.86 kB / 0.9794 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.874, allocations: 18.2 kB / 0.9794 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.8741, allocations: 25.97 kB / 0.9794 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.8741, allocations: 10.91 kB / 0.9794 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001022/0.8751, allocations: 0.5849 MB / 0.98 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8751, allocations: 0 / 0.98 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001135/0.8763, allocations: 203.9 kB / 0.9802 GB, free: 3.746 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.001563/0.8778, allocations: 1.549 MB / 0.9817 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.8792, allocations: 0.6461 MB / 0.9823 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/0.8793, allocations: 4 kB / 0.9823 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.8797, allocations: 267.6 kB / 0.9826 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.8807, allocations: 161 kB / 0.9827 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00859/0.8893, allocations: 12.08 MB / 0.9945 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008805/0.8902, allocations: 1.011 MB / 0.9955 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006384/0.8909, allocations: 141.1 kB / 0.9957 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.8915, allocations: 287.3 kB / 0.9959 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of SimCode: time 1.693e-06/0.8915, allocations: 0 / 0.9959 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.9269, allocations: 14.74 MB / 1.01 GB, free: 4.691 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/0.9273, allocations: 208.6 kB / 1.011 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.082, allocations: 0 / 1.011 GB, free: 4.441 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