Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.001524/0.001524, allocations: 108 kB / 15.61 MB, free: 152 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.001458/0.001458, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.589/1.589, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.819/1.819, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.002864/0.002865, allocations: 71.25 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2707, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004852/0.2756, allocations: 2.731 MB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004365/0.28, allocations: 2.809 MB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.2804, allocations: 8 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.2819, allocations: 0.4902 MB / 0.7894 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006804/0.2827, allocations: 266 kB / 0.7896 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2838, allocations: 391 kB / 0.79 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.2856, allocations: 1.528 MB / 0.7915 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2859, allocations: 134.3 kB / 0.7916 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.2867, allocations: 466.8 kB / 0.792 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/0.2874, allocations: 418.5 kB / 0.7924 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-05/0.2875, allocations: 48 kB / 0.7925 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.2876, allocations: 60 kB / 0.7926 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.2879, allocations: 263.3 kB / 0.7928 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.2883, allocations: 378.1 kB / 0.7932 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.289, allocations: 0.8996 MB / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.289, allocations: 0 / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.289, allocations: 0 / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.2891, allocations: 0 / 0.794 GB, free: 2.523 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002006/0.2911, allocations: 1.148 MB / 0.7952 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2911, allocations: 8.031 kB / 0.7952 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.2912, allocations: 62.72 kB / 0.7952 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.2913, allocations: 72.09 kB / 0.7953 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.2922, allocations: 0.6525 MB / 0.7959 GB, free: 492 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2922, allocations: 28.94 kB / 0.796 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.2923, allocations: 48.31 kB / 0.796 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.2928, allocations: 374.7 kB / 0.7964 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2929, allocations: 3.938 kB / 0.7964 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2929, allocations: 12.03 kB / 0.7964 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2929, allocations: 4 kB / 0.7964 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.2933, allocations: 237.5 kB / 0.7966 GB, free: 15.76 MB / 0.6231 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.003485/0.2968, allocations: 2.455 MB / 0.799 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009819/0.2978, allocations: 406.3 kB / 0.7994 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.298, allocations: 136.8 kB / 0.7995 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2981, allocations: 8 kB / 0.7995 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2981, allocations: 30.56 kB / 0.7996 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.2981, allocations: 0 / 0.7996 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.00102/0.2991, allocations: 0.5334 MB / 0.8001 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2992, allocations: 51.41 kB / 0.8001 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3003, allocations: 0.9414 MB / 0.8011 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.3004, allocations: 37.7 kB / 0.8011 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3006, allocations: 296.5 kB / 0.8014 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.3007, allocations: 74.94 kB / 0.8014 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3009, allocations: 126.1 kB / 0.8016 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.301, allocations: 382.7 kB / 0.8019 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.3014, allocations: 236.9 kB / 0.8022 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.3019, allocations: 0.5012 MB / 0.8026 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.3028, allocations: 0.7024 MB / 0.8033 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3028, allocations: 0 / 0.8033 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001139/0.3039, allocations: 0.8122 MB / 0.8041 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.304, allocations: 8 kB / 0.8041 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.304, allocations: 15.97 kB / 0.8041 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.3042, allocations: 56.77 kB / 0.8042 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.3046, allocations: 139.8 kB / 0.8043 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.3059, allocations: 1.546 MB / 0.8058 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/0.3066, allocations: 127.2 kB / 0.806 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.3066, allocations: 24 kB / 0.806 GB, free: 5.461 MB / 0.6231 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.0003549/0.307, allocations: 337.5 kB / 0.8063 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3071, allocations: 63.19 kB / 0.8064 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.3072, allocations: 69.94 kB / 0.8064 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3072, allocations: 4 kB / 0.8064 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3072, allocations: 4.062 kB / 0.8064 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3072, allocations: 0 / 0.8064 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.3079, allocations: 0.583 MB / 0.807 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3079, allocations: 7.875 kB / 0.807 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3081, allocations: 51.89 kB / 0.8071 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.3083, allocations: 40.83 kB / 0.8071 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3083, allocations: 4 kB / 0.8071 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.3094, allocations: 1.527 MB / 0.8086 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3094, allocations: 0 / 0.8086 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.3102, allocations: 0.5655 MB / 0.8092 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.3105, allocations: 200.3 kB / 0.8093 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.3106, allocations: 8 kB / 0.8094 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.311, allocations: 55.92 kB / 0.8094 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.311, allocations: 7.984 kB / 0.8094 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3111, allocations: 4 kB / 0.8094 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008398/0.3119, allocations: 0.6629 MB / 0.8101 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3119, allocations: 0 / 0.8101 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006421/0.3126, allocations: 179.8 kB / 0.8102 GB, free: 0.8633 MB / 0.6231 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.001066/0.3136, allocations: 1.121 MB / 0.8113 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.3147, allocations: 0.6093 MB / 0.8119 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3147, allocations: 0 / 0.8119 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.315, allocations: 246.9 kB / 0.8122 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.3159, allocations: 172.5 kB / 0.8123 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.3249, allocations: 7.039 MB / 0.8192 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.3255, allocations: 1.006 MB / 0.8202 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004441/0.326, allocations: 192.4 kB / 0.8204 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.3263, allocations: 203.4 kB / 0.8206 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of SimCode: time 1.382e-06/0.3263, allocations: 0 / 0.8206 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.3651, allocations: 14.03 MB / 0.8343 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.679/10.04, allocations: 4.656 kB / 0.8343 GB, free: 8.062 MB / 0.6544 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)