Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001157/0.001157, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001228/0.001228, allocations: 188.4 kB / 16.25 MB, free: 6.637 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.264/1.264, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.065/2.065, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001209, allocations: 63.91 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4987, allocations: 140.4 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003006/0.5017, allocations: 2.778 MB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.5043, allocations: 2.766 MB / 0.9546 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.5045, allocations: 8.312 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5055, allocations: 460.8 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.5058, allocations: 242.1 kB / 0.9553 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.5064, allocations: 358.1 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.5076, allocations: 1.561 MB / 0.9572 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.5078, allocations: 142.4 kB / 0.9573 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.5082, allocations: 496.7 kB / 0.9578 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.5087, allocations: 435.2 kB / 0.9582 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.5087, allocations: 48.59 kB / 0.9582 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.5088, allocations: 56.44 kB / 0.9583 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.509, allocations: 262.6 kB / 0.9586 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.5093, allocations: 368.5 kB / 0.9589 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.5098, allocations: 0.9033 MB / 0.9598 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.5098, allocations: 0 / 0.9598 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5098, allocations: 0 / 0.9598 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.5098, allocations: 5.062 kB / 0.9598 GB, free: 1.656 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001541/0.5114, allocations: 1.15 MB / 0.9609 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.5114, allocations: 10.34 kB / 0.9609 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.5115, allocations: 55.3 kB / 0.961 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5116, allocations: 82.22 kB / 0.9611 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.5123, allocations: 0.6497 MB / 0.9617 GB, free: 196 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.5123, allocations: 27 kB / 0.9617 GB, free: 184 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.5124, allocations: 41.06 kB / 0.9618 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.5129, allocations: 377.5 kB / 0.9621 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.5129, allocations: 0 / 0.9621 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.5129, allocations: 10.81 kB / 0.9621 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5129, allocations: 6.156 kB / 0.9621 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.5133, allocations: 236.1 kB / 0.9624 GB, free: 15.79 MB / 0.7325 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.003112/0.5164, allocations: 2.455 MB / 0.9648 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009054/0.5173, allocations: 403.3 kB / 0.9651 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.5175, allocations: 137.3 kB / 0.9653 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.5176, allocations: 1.875 kB / 0.9653 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.5176, allocations: 35.69 kB / 0.9653 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.5176, allocations: 1.344 kB / 0.9653 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008547/0.5185, allocations: 0.5292 MB / 0.9658 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.5185, allocations: 69.42 kB / 0.9659 GB, free: 13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.5195, allocations: 0.9343 MB / 0.9668 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.5196, allocations: 35.08 kB / 0.9668 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.5198, allocations: 305.1 kB / 0.9671 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.5199, allocations: 60.73 kB / 0.9672 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.52, allocations: 125.8 kB / 0.9673 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5202, allocations: 380.5 kB / 0.9677 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.5205, allocations: 237 kB / 0.9679 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.521, allocations: 0.5077 MB / 0.9684 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.5217, allocations: 0.6928 MB / 0.9691 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5217, allocations: 3.062 kB / 0.9691 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001051/0.5227, allocations: 0.8173 MB / 0.9699 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5228, allocations: 8.281 kB / 0.9699 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5228, allocations: 13.88 kB / 0.9699 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.523, allocations: 51.64 kB / 0.9699 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.5234, allocations: 143.5 kB / 0.9701 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.5245, allocations: 1.543 MB / 0.9716 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.5251, allocations: 123 kB / 0.9717 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.5251, allocations: 28.56 kB / 0.9717 GB, free: 8.41 MB / 0.7325 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.0002992/0.5254, allocations: 344.9 kB / 0.9721 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.5255, allocations: 69.94 kB / 0.9721 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.5256, allocations: 66.69 kB / 0.9722 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.5256, allocations: 1.469 kB / 0.9722 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5256, allocations: 0.6875 kB / 0.9722 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5256, allocations: 0.75 kB / 0.9722 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.5262, allocations: 0.576 MB / 0.9727 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5262, allocations: 3.938 kB / 0.9728 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.5265, allocations: 46.61 kB / 0.9728 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.5266, allocations: 47.7 kB / 0.9728 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.5266, allocations: 16.05 kB / 0.9729 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009486/0.5276, allocations: 1.518 MB / 0.9743 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5276, allocations: 0 / 0.9743 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.5283, allocations: 0.5695 MB / 0.9749 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.5285, allocations: 200 kB / 0.9751 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/0.5286, allocations: 7.844 kB / 0.9751 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.529, allocations: 59.16 kB / 0.9752 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.529, allocations: 9.109 kB / 0.9752 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.529, allocations: 8.469 kB / 0.9752 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007153/0.5298, allocations: 0.6586 MB / 0.9758 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5298, allocations: 1.219 kB / 0.9758 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005582/0.5303, allocations: 187.3 kB / 0.976 GB, free: 5.062 MB / 0.7325 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.0009091/0.5312, allocations: 1.12 MB / 0.9771 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007904/0.532, allocations: 0.6065 MB / 0.9777 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5321, allocations: 0 / 0.9777 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.5324, allocations: 256.3 kB / 0.9779 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.5331, allocations: 169.4 kB / 0.9781 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.5418, allocations: 7.177 MB / 0.9851 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.5423, allocations: 1.003 MB / 0.9861 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.5427, allocations: 184.5 kB / 0.9862 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.543, allocations: 207.4 kB / 0.9864 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.543, allocations: 0 / 0.9864 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.427/1.97, allocations: 13.93 MB / 1 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/1.97, allocations: 224.9 kB / 1 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/3.86, allocations: 0 / 1 GB, free: 12.5 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)