Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_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.005194/0.005194, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001065/0.001065, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 66.02 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2303, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004051/0.2344, allocations: 3.738 MB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.2376, allocations: 2.502 MB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2378, allocations: 11.94 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.2383, allocations: 250.6 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007422/0.2391, allocations: 0.4937 MB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.2401, allocations: 0.5474 MB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.2411, allocations: 1.39 MB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.2414, allocations: 149.1 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.2418, allocations: 430.5 kB / 1.097 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.2422, allocations: 462.2 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.2423, allocations: 56 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.753e-05/0.2424, allocations: 56 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.2427, allocations: 374.9 kB / 1.098 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.2431, allocations: 469.6 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.2438, allocations: 0.9342 MB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2438, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2438, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.2438, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 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.001876/0.2457, allocations: 1.269 MB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2457, allocations: 8.031 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.2458, allocations: 74.72 kB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2459, allocations: 107.7 kB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.2468, allocations: 0.6754 MB / 1.101 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.2469, allocations: 37.03 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.2469, allocations: 60.12 kB / 1.101 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.2475, allocations: 411 kB / 1.102 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2475, allocations: 4 kB / 1.102 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.2475, allocations: 8 kB / 1.102 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2475, allocations: 8 kB / 1.102 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.2479, allocations: 238.4 kB / 1.102 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.2504, allocations: 2.494 MB / 1.104 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.2517, allocations: 0.5476 MB / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.252, allocations: 164.8 kB / 1.105 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.252, allocations: 4 kB / 1.105 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.252, allocations: 30.56 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.252, allocations: 4 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001372/0.2534, allocations: 0.8939 MB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2534, allocations: 59.41 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.2544, allocations: 0.9232 MB / 1.107 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.2544, allocations: 41.7 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.2547, allocations: 356.8 kB / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.2548, allocations: 126.2 kB / 1.107 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.2549, allocations: 170.6 kB / 1.107 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.2551, allocations: 402.7 kB / 1.108 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.2554, allocations: 241.8 kB / 1.108 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.256, allocations: 0.6387 MB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.2569, allocations: 0.8875 MB / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2569, allocations: 4 kB / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00136/0.2583, allocations: 1.018 MB / 1.111 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2583, allocations: 12 kB / 1.111 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.2583, allocations: 15.94 kB / 1.111 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.2586, allocations: 130.7 kB / 1.111 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.2592, allocations: 191.7 kB / 1.111 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.262, allocations: 4.473 MB / 1.115 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/0.2628, allocations: 111 kB / 1.115 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.2628, allocations: 43.94 kB / 1.115 GB, free: 4.031 MB / 0.8731 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.000252/0.2631, allocations: 269.5 kB / 1.116 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2632, allocations: 82.88 kB / 1.116 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.2633, allocations: 80.52 kB / 1.116 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2633, allocations: 4 kB / 1.116 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2634, allocations: 4 kB / 1.116 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2634, allocations: 0 / 1.116 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.264, allocations: 0.653 MB / 1.116 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.264, allocations: 4 kB / 1.116 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.2643, allocations: 63.89 kB / 1.117 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.2646, allocations: 106.5 kB / 1.117 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2646, allocations: 8 kB / 1.117 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/0.2673, allocations: 4.445 MB / 1.121 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2673, allocations: 0 / 1.121 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.2682, allocations: 0.7352 MB / 1.122 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.2685, allocations: 215.8 kB / 1.122 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.108e-05/0.2686, allocations: 11.98 kB / 1.122 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.269, allocations: 23.97 kB / 1.122 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.2691, allocations: 27.91 kB / 1.122 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2691, allocations: 8 kB / 1.122 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006919/0.2698, allocations: 0.6239 MB / 1.123 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2698, allocations: 3.938 kB / 1.123 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007015/0.2705, allocations: 263.8 kB / 1.123 GB, free: 11.89 MB / 0.8887 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.001177/0.2717, allocations: 1.297 MB / 1.124 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.2729, allocations: 0.9233 MB / 1.125 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2729, allocations: 0 / 1.125 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.2734, allocations: 0.5251 MB / 1.126 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.2742, allocations: 168.5 kB / 1.126 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/0.2826, allocations: 7.807 MB / 1.133 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.2831, allocations: 0.9878 MB / 1.134 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.2835, allocations: 149.9 kB / 1.134 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.2838, allocations: 279.3 kB / 1.135 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.2838, allocations: 0 / 1.135 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3518/0.6356, allocations: 17.27 MB / 1.152 GB, free: 14.06 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14, allocations: 14.66 kB / 1.152 GB, free: 14.05 MB / 0.92 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)