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.001107/0.001107, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001181/0.001182, allocations: 194.5 kB / 16.26 MB, free: 6.621 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.12/2.12, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 63.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4745, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003327/0.4779, allocations: 3.761 MB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.4804, allocations: 2.499 MB / 0.9553 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.4806, allocations: 15.38 kB / 0.9553 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.4812, allocations: 220.4 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.4818, allocations: 461.7 kB / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.4825, allocations: 0.4932 MB / 0.9565 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008954/0.4834, allocations: 1.385 MB / 0.9578 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.4836, allocations: 147.2 kB / 0.958 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.484, allocations: 437.3 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.4845, allocations: 0.5427 MB / 0.9589 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.4846, allocations: 56.44 kB / 0.959 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.4847, allocations: 63.62 kB / 0.959 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.4849, allocations: 340 kB / 0.9594 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.4852, allocations: 461.5 kB / 0.9598 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.4858, allocations: 0.926 MB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.4858, allocations: 5.25 kB / 0.9607 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4858, allocations: 0 / 0.9607 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4858, allocations: 0 / 0.9607 GB, free: 0.7266 MB / 0.7169 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.001735/0.4875, allocations: 1.265 MB / 0.9619 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.4876, allocations: 9.094 kB / 0.962 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.503e-05/0.4876, allocations: 70.75 kB / 0.962 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.4878, allocations: 101.7 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/0.4886, allocations: 0.6505 MB / 0.9628 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.4886, allocations: 40.69 kB / 0.9628 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.4887, allocations: 61.66 kB / 0.9628 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.4893, allocations: 415.8 kB / 0.9632 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4893, allocations: 1.062 kB / 0.9632 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.4893, allocations: 15.08 kB / 0.9633 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4893, allocations: 8.969 kB / 0.9633 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.4897, allocations: 241.1 kB / 0.9635 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.4922, allocations: 2.49 MB / 0.9659 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4935, allocations: 0.5636 MB / 0.9665 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.4938, allocations: 164.6 kB / 0.9666 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.4938, allocations: 7.219 kB / 0.9666 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.4938, allocations: 35.69 kB / 0.9667 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.4938, allocations: 5.156 kB / 0.9667 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001369/0.4952, allocations: 0.8835 MB / 0.9675 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.4952, allocations: 54.5 kB / 0.9676 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009936/0.4962, allocations: 0.9309 MB / 0.9685 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.4963, allocations: 40.45 kB / 0.9685 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.4965, allocations: 366.9 kB / 0.9689 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.4966, allocations: 121.1 kB / 0.969 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.4968, allocations: 164.7 kB / 0.9692 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4969, allocations: 396.4 kB / 0.9695 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.4973, allocations: 247.7 kB / 0.9698 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.4978, allocations: 0.6317 MB / 0.9704 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/0.4987, allocations: 0.8895 MB / 0.9713 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4987, allocations: 4.781 kB / 0.9713 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001407/0.5001, allocations: 1.018 MB / 0.9723 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5001, allocations: 11.03 kB / 0.9723 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.5002, allocations: 18.41 kB / 0.9723 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.5005, allocations: 125.8 kB / 0.9724 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.5011, allocations: 191.6 kB / 0.9726 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.5038, allocations: 4.472 MB / 0.977 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/0.5046, allocations: 115.2 kB / 0.9771 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.5046, allocations: 43.88 kB / 0.9771 GB, free: 3.098 MB / 0.7325 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.0002573/0.5049, allocations: 274 kB / 0.9774 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.505, allocations: 78.97 kB / 0.9775 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.5051, allocations: 83.61 kB / 0.9775 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5051, allocations: 2.5 kB / 0.9775 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.5051, allocations: 5.5 kB / 0.9775 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5052, allocations: 1.25 kB / 0.9775 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/0.5058, allocations: 0.6548 MB / 0.9782 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5058, allocations: 1.344 kB / 0.9782 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.5061, allocations: 60.58 kB / 0.9782 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.5064, allocations: 113.9 kB / 0.9783 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.5064, allocations: 15.94 kB / 0.9784 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.509, allocations: 4.445 MB / 0.9827 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.509, allocations: 0 / 0.9827 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.51, allocations: 0.7419 MB / 0.9834 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5102, allocations: 211.9 kB / 0.9836 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.5103, allocations: 11.98 kB / 0.9836 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.5107, allocations: 19.97 kB / 0.9837 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.5108, allocations: 23.97 kB / 0.9837 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.5108, allocations: 12 kB / 0.9837 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000678/0.5115, allocations: 0.6239 MB / 0.9843 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5115, allocations: 0 / 0.9843 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007138/0.5123, allocations: 267.8 kB / 0.9846 GB, free: 11.96 MB / 0.7481 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.00113/0.5134, allocations: 1.296 MB / 0.9858 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.5146, allocations: 0.9583 MB / 0.9868 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5146, allocations: 0 / 0.9868 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.5151, allocations: 0.5246 MB / 0.9873 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/0.5159, allocations: 171.6 kB / 0.9874 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/0.5249, allocations: 8.334 MB / 0.9956 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.5254, allocations: 0.9956 MB / 0.9965 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003451/0.5257, allocations: 149.9 kB / 0.9967 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.526, allocations: 275.3 kB / 0.997 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of SimCode: time 2.7e-07/0.526, allocations: 3.938 kB / 0.997 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.881/2.407, allocations: 16.95 MB / 1.014 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/2.407, allocations: 226.3 kB / 1.014 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/4.736, allocations: 0 / 1.014 GB, free: 13.62 MB / 0.7794 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)