Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.001457/0.001457, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 187.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 69.7 kB / 0.6717 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2673, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005656/0.273, allocations: 3.736 MB / 0.7873 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004986/0.278, allocations: 2.534 MB / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007059/0.2788, allocations: 15.88 kB / 0.7898 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.2799, allocations: 250.4 kB / 0.79 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.2815, allocations: 0.4938 MB / 0.7905 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.2832, allocations: 0.5448 MB / 0.791 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.2852, allocations: 1.386 MB / 0.7924 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.2856, allocations: 145.1 kB / 0.7925 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009355/0.2865, allocations: 430.5 kB / 0.7929 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.2874, allocations: 458.2 kB / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.2877, allocations: 56 kB / 0.7934 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.288, allocations: 60 kB / 0.7935 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.2885, allocations: 378.9 kB / 0.7938 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007416/0.2892, allocations: 465.6 kB / 0.7943 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.2903, allocations: 0.938 MB / 0.7952 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2903, allocations: 0 / 0.7952 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2903, allocations: 0 / 0.7952 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.087e-05/0.2904, allocations: 0 / 0.7952 GB, free: 1.375 MB / 0.6075 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.003512/0.2939, allocations: 1.272 MB / 0.7964 GB, free: 52 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/0.294, allocations: 8.031 kB / 0.7964 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.2941, allocations: 74.72 kB / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.2944, allocations: 99.81 kB / 0.7966 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.2958, allocations: 0.6676 MB / 0.7972 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.2959, allocations: 41.03 kB / 0.7973 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-05/0.296, allocations: 64.11 kB / 0.7973 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.2966, allocations: 407 kB / 0.7977 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2966, allocations: 7.922 kB / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2966, allocations: 12 kB / 0.7978 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2967, allocations: 8 kB / 0.7978 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.2971, allocations: 234.4 kB / 0.798 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.3005, allocations: 2.501 MB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.3019, allocations: 0.5455 MB / 0.801 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.3022, allocations: 172.7 kB / 0.8011 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3022, allocations: 4 kB / 0.8011 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3023, allocations: 34.56 kB / 0.8012 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.3023, allocations: 0 / 0.8012 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001706/0.304, allocations: 0.8774 MB / 0.802 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3041, allocations: 59.39 kB / 0.8021 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3052, allocations: 0.9308 MB / 0.803 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.3053, allocations: 33.7 kB / 0.803 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.3056, allocations: 372.8 kB / 0.8034 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3057, allocations: 110.4 kB / 0.8035 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.306, allocations: 166.6 kB / 0.8036 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3062, allocations: 402.7 kB / 0.804 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.3066, allocations: 245.8 kB / 0.8043 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.3072, allocations: 0.6349 MB / 0.8049 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3083, allocations: 0.899 MB / 0.8057 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.3084, allocations: 4 kB / 0.8058 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001655/0.31, allocations: 1.014 MB / 0.8067 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.31, allocations: 12 kB / 0.8068 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.3101, allocations: 15.94 kB / 0.8068 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.3105, allocations: 126.7 kB / 0.8069 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.3111, allocations: 187.7 kB / 0.8071 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/0.3146, allocations: 4.477 MB / 0.8114 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.3157, allocations: 110.9 kB / 0.8115 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.3158, allocations: 44 kB / 0.8116 GB, free: 15.27 MB / 0.6387 GB 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.3162, allocations: 275.8 kB / 0.8119 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3164, allocations: 82.97 kB / 0.8119 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.3165, allocations: 76.53 kB / 0.812 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3165, allocations: 4 kB / 0.812 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3165, allocations: 0 / 0.812 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3166, allocations: 7.984 kB / 0.812 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/0.3174, allocations: 0.6608 MB / 0.8127 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3174, allocations: 0 / 0.8127 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.3177, allocations: 63.94 kB / 0.8127 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.318, allocations: 106.4 kB / 0.8128 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.3181, allocations: 15.98 kB / 0.8128 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/0.3216, allocations: 4.45 MB / 0.8172 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3216, allocations: 3.938 kB / 0.8172 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3228, allocations: 0.7359 MB / 0.8179 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.3232, allocations: 215.8 kB / 0.8181 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.3233, allocations: 8 kB / 0.8181 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.3238, allocations: 19.97 kB / 0.8181 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.3239, allocations: 27.97 kB / 0.8182 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3239, allocations: 11.98 kB / 0.8182 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009415/0.3249, allocations: 0.62 MB / 0.8188 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3249, allocations: 0 / 0.8188 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009844/0.3259, allocations: 263.8 kB / 0.819 GB, free: 7.105 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.001475/0.3274, allocations: 1.296 MB / 0.8203 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.3289, allocations: 0.927 MB / 0.8212 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3289, allocations: 0 / 0.8212 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/0.3296, allocations: 0.5208 MB / 0.8217 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000987/0.3306, allocations: 175.4 kB / 0.8219 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3412, allocations: 7.791 MB / 0.8295 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.3418, allocations: 0.9878 MB / 0.8305 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004232/0.3423, allocations: 153.8 kB / 0.8306 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.3426, allocations: 275.3 kB / 0.8309 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.3427, allocations: 0 / 0.8309 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/0.3905, allocations: 17.09 MB / 0.8475 GB, free: 9.469 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 15.92 kB / 0.8476 GB, free: 9.461 MB / 0.67 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)