Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_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.000971/0.000971, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001209/0.001209, allocations: 172.7 kB / 15.95 MB, free: 208 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6738, allocations: 146.8 MB / 0.9811 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003559/0.6774, allocations: 3.21 MB / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003749/0.6811, allocations: 2.375 MB / 0.9866 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.6816, allocations: 15.88 kB / 0.9866 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.6824, allocations: 202.8 kB / 0.9868 GB, free: 404 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.6835, allocations: 444.5 kB / 0.9872 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.6847, allocations: 435.1 kB / 0.9876 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.6862, allocations: 1.293 MB / 0.9889 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.6864, allocations: 119.5 kB / 0.989 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005124/0.6869, allocations: 394.5 kB / 0.9894 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.6875, allocations: 486.3 kB / 0.9898 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.6876, allocations: 28 kB / 0.9899 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.6877, allocations: 35.83 kB / 0.9899 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.6881, allocations: 323.1 kB / 0.9902 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.6882, allocations: 189.2 kB / 0.9904 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.6888, allocations: 0.674 MB / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6888, allocations: 0 / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6888, allocations: 0 / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6888, allocations: 0 / 0.991 GB, free: 12 MB / 0.7481 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.0018/0.6906, allocations: 1.136 MB / 0.9922 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6907, allocations: 12.03 kB / 0.9922 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.636e-05/0.6908, allocations: 66.53 kB / 0.9922 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.6909, allocations: 98.88 kB / 0.9923 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/0.6918, allocations: 0.6161 MB / 0.9929 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.6919, allocations: 40.66 kB / 0.993 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.6919, allocations: 56 kB / 0.993 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.6925, allocations: 402.9 kB / 0.9934 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.6926, allocations: 0 / 0.9934 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.6926, allocations: 16 kB / 0.9934 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.6926, allocations: 8 kB / 0.9934 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.693, allocations: 226.4 kB / 0.9936 GB, free: 9.207 MB / 0.7481 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.002998/0.696, allocations: 2.521 MB / 0.9961 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.6973, allocations: 480.6 kB / 0.9966 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.6976, allocations: 161.2 kB / 0.9967 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.6976, allocations: 4.234 kB / 0.9967 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6977, allocations: 38.73 kB / 0.9968 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.6977, allocations: 0 / 0.9968 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002017/0.6997, allocations: 1.206 MB / 0.9979 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.6998, allocations: 59.34 kB / 0.998 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7009, allocations: 0.9153 MB / 0.9989 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.7009, allocations: 41.7 kB / 0.9989 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.7012, allocations: 364.8 kB / 0.9993 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.7013, allocations: 118.3 kB / 0.9994 GB, free: 3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.7013, allocations: 16 kB / 0.9994 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7015, allocations: 394.7 kB / 0.9998 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.7019, allocations: 221.8 kB / 1 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.7026, allocations: 0.6309 MB / 1.001 GB, free: 1.555 MB / 0.7481 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.00209/0.7047, allocations: 1.084 MB / 1.002 GB, free: 444 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.7048, allocations: 7.938 kB / 1.002 GB, free: 436 kB / 0.7481 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001341/0.7061, allocations: 0.8924 MB / 1.003 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.7061, allocations: 12 kB / 1.003 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.7062, allocations: 12 kB / 1.003 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.7064, allocations: 61.09 kB / 1.003 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.707, allocations: 219.6 kB / 1.003 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.7083, allocations: 1.366 MB / 1.004 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.709, allocations: 51.91 kB / 1.004 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.709, allocations: 40 kB / 1.004 GB, free: 13.63 MB / 0.7637 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.0003936/0.7094, allocations: 306.2 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.7096, allocations: 78.97 kB / 1.005 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.7097, allocations: 80.47 kB / 1.005 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7097, allocations: 4 kB / 1.005 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7097, allocations: 0 / 1.005 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7097, allocations: 0 / 1.005 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.7115, allocations: 1.148 MB / 1.006 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7115, allocations: 0 / 1.006 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.7119, allocations: 87.88 kB / 1.006 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.712, allocations: 36.95 kB / 1.006 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.712, allocations: 8 kB / 1.006 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009573/0.713, allocations: 1.327 MB / 1.007 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.713, allocations: 4.031 kB / 1.007 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.7139, allocations: 0.6575 MB / 1.008 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.7142, allocations: 200.1 kB / 1.008 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7143, allocations: 8 kB / 1.008 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.7147, allocations: 23.88 kB / 1.008 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.7148, allocations: 31.92 kB / 1.008 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.7148, allocations: 12 kB / 1.008 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008534/0.7157, allocations: 0.6083 MB / 1.009 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7157, allocations: 0 / 1.009 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000769/0.7165, allocations: 204 kB / 1.009 GB, free: 8.566 MB / 0.7637 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.001191/0.7177, allocations: 1.213 MB / 1.01 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.7188, allocations: 0.6459 MB / 1.011 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7189, allocations: 0.5 kB / 1.011 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.7193, allocations: 274.4 kB / 1.011 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.7202, allocations: 173.4 kB / 1.011 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008388/0.7286, allocations: 5.478 MB / 1.017 GB, free: 392 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.7293, allocations: 0.9876 MB / 1.017 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004729/0.7298, allocations: 153.8 kB / 1.018 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.7302, allocations: 291.3 kB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.7302, allocations: 3.938 kB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.7609, allocations: 15.69 MB / 1.033 GB, free: 15.52 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.7611, allocations: 207.6 kB / 1.033 GB, free: 15.28 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.924, allocations: 0 / 1.033 GB, free: 15.28 MB / 0.795 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat does not exist to compare? outputFormat=mat