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.001741/0.001741, 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.002011/0.002011, allocations: 186.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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.782/1.782, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001793/0.001794, allocations: 73.42 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2329, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004169/0.2372, allocations: 2.734 MB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.241, allocations: 2.806 MB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.2413, allocations: 7.938 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.2427, allocations: 0.4941 MB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.2433, allocations: 254.9 kB / 0.7898 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009384/0.2442, allocations: 391 kB / 0.7901 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.246, allocations: 1.539 MB / 0.7916 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.2463, allocations: 138.2 kB / 0.7918 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006985/0.247, allocations: 470.8 kB / 0.7922 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.2476, allocations: 386.6 kB / 0.7926 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.2478, allocations: 44 kB / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.2479, allocations: 56 kB / 0.7927 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.2483, allocations: 291.2 kB / 0.793 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.2488, allocations: 362.2 kB / 0.7933 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000895/0.2497, allocations: 0.9113 MB / 0.7942 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2497, allocations: 0 / 0.7942 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2497, allocations: 0 / 0.7942 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.899e-05/0.2497, allocations: 0 / 0.7942 GB, free: 2.387 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.002223/0.2519, allocations: 1.144 MB / 0.7953 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.252, allocations: 11.97 kB / 0.7953 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.284e-05/0.2521, allocations: 66.72 kB / 0.7954 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.2523, allocations: 76.09 kB / 0.7955 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.2534, allocations: 0.672 MB / 0.7961 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.2535, allocations: 28.94 kB / 0.7961 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.2536, allocations: 40.38 kB / 0.7962 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.2542, allocations: 374.6 kB / 0.7965 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2543, allocations: 7.984 kB / 0.7966 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.2543, allocations: 8 kB / 0.7966 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2543, allocations: 8 kB / 0.7966 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.2547, allocations: 233.5 kB / 0.7968 GB, free: 15.61 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.004092/0.2588, allocations: 2.459 MB / 0.7992 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.2599, allocations: 402.4 kB / 0.7996 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.2601, allocations: 132.8 kB / 0.7997 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2601, allocations: 4 kB / 0.7997 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.2602, allocations: 34.56 kB / 0.7997 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 4.007e-06/0.2602, allocations: 0 / 0.7997 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001179/0.2614, allocations: 0.5364 MB / 0.8003 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.2614, allocations: 51.41 kB / 0.8003 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.263, allocations: 0.9336 MB / 0.8012 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.263, allocations: 37.7 kB / 0.8013 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.2633, allocations: 300.5 kB / 0.8015 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2635, allocations: 70.94 kB / 0.8016 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.2637, allocations: 130.1 kB / 0.8017 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2639, allocations: 386.7 kB / 0.8021 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.2643, allocations: 236.9 kB / 0.8023 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.2648, allocations: 0.5013 MB / 0.8028 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/0.2656, allocations: 0.6946 MB / 0.8035 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.2657, allocations: 7.938 kB / 0.8035 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001319/0.267, allocations: 0.8115 MB / 0.8043 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.267, allocations: 12.8 kB / 0.8043 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.2671, allocations: 8 kB / 0.8043 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.2673, allocations: 52.83 kB / 0.8044 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.2678, allocations: 143.7 kB / 0.8045 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2691, allocations: 1.538 MB / 0.806 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008043/0.2699, allocations: 131.2 kB / 0.8061 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.27, allocations: 24 kB / 0.8062 GB, free: 5.312 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.0004397/0.2704, allocations: 341.5 kB / 0.8065 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.2706, allocations: 63.19 kB / 0.8065 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.2707, allocations: 70 kB / 0.8066 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2708, allocations: 4 kB / 0.8066 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2708, allocations: 0 / 0.8066 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.2708, allocations: 0 / 0.8066 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.2715, allocations: 0.5791 MB / 0.8072 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2716, allocations: 7.875 kB / 0.8072 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.2718, allocations: 55.89 kB / 0.8072 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.2719, allocations: 40.83 kB / 0.8073 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.272, allocations: 11.98 kB / 0.8073 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.2732, allocations: 1.515 MB / 0.8088 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2732, allocations: 0 / 0.8088 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000826/0.274, allocations: 0.5696 MB / 0.8093 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.2743, allocations: 204.3 kB / 0.8095 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.2744, allocations: 8 kB / 0.8095 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.2748, allocations: 47.86 kB / 0.8096 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.2749, allocations: 11.98 kB / 0.8096 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2749, allocations: 4 kB / 0.8096 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009319/0.2759, allocations: 0.6629 MB / 0.8102 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2759, allocations: 0 / 0.8102 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007127/0.2766, allocations: 183.8 kB / 0.8104 GB, free: 0.7109 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.001129/0.2777, allocations: 1.117 MB / 0.8115 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000917/0.2787, allocations: 0.5781 MB / 0.8121 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2787, allocations: 4.375 kB / 0.8121 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.279, allocations: 246.5 kB / 0.8123 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008313/0.2798, allocations: 180.4 kB / 0.8125 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/0.2894, allocations: 6.909 MB / 0.8192 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.29, allocations: 1.007 MB / 0.8202 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00044/0.2905, allocations: 180.5 kB / 0.8204 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.2908, allocations: 203.4 kB / 0.8206 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/0.2908, allocations: 0 / 0.8206 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05226/0.3431, allocations: 14.11 MB / 0.8344 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.88, allocations: 4.594 kB / 0.8344 GB, free: 8.012 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)