Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_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.001813/0.001813, 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.00211/0.00211, allocations: 193 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 2.676/2.676, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.962/4.962, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 66.69 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4864, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.007141/0.4936, allocations: 3.774 MB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005646/0.4993, allocations: 2.501 MB / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.4997, allocations: 11.94 kB / 1.059 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009602/0.5007, allocations: 226.7 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.5019, allocations: 466 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.5036, allocations: 499 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.5056, allocations: 1.39 MB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.5059, allocations: 153.1 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.5067, allocations: 430.4 kB / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009157/0.5076, allocations: 0.545 MB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.5077, allocations: 56 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.5079, allocations: 64 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000439/0.5084, allocations: 339 kB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.509, allocations: 465.5 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5101, allocations: 0.9147 MB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5101, allocations: 8 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5101, allocations: 0 / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.5102, allocations: 0 / 1.064 GB, free: 12.83 MB / 0.8262 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.003043/0.5132, allocations: 1.265 MB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5133, allocations: 8.625 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.5134, allocations: 74.72 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.5136, allocations: 103.7 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.515, allocations: 0.6558 MB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.515, allocations: 37.03 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.5152, allocations: 60.12 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.5161, allocations: 411 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5161, allocations: 3.938 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.5161, allocations: 16 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.5162, allocations: 8 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.5167, allocations: 234.4 kB / 1.067 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.5208, allocations: 2.502 MB / 1.069 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.5229, allocations: 0.5416 MB / 1.07 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.5232, allocations: 164.7 kB / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.5233, allocations: 4 kB / 1.07 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5233, allocations: 34.56 kB / 1.07 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/0.5233, allocations: 0 / 1.07 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002265/0.5256, allocations: 0.8934 MB / 1.071 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5257, allocations: 59.41 kB / 1.071 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.5273, allocations: 0.9232 MB / 1.072 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.5274, allocations: 41.7 kB / 1.072 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.5278, allocations: 364.8 kB / 1.072 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.528, allocations: 118.2 kB / 1.072 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.5283, allocations: 170.6 kB / 1.072 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.5286, allocations: 402.7 kB / 1.073 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.5292, allocations: 237.8 kB / 1.073 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009785/0.5302, allocations: 0.6388 MB / 1.074 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.5317, allocations: 0.8929 MB / 1.074 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5317, allocations: 4 kB / 1.074 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002406/0.5341, allocations: 1.014 MB / 1.075 GB, free: 148 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.5342, allocations: 13.56 kB / 1.075 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.5342, allocations: 15.94 kB / 1.075 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.5348, allocations: 126.8 kB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.5359, allocations: 199.5 kB / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.5408, allocations: 4.473 MB / 1.08 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.5423, allocations: 114.9 kB / 1.08 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.5424, allocations: 40 kB / 1.08 GB, free: 10.74 MB / 0.8419 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.0005036/0.5429, allocations: 273.3 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.5431, allocations: 78.97 kB / 1.081 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.5433, allocations: 80.59 kB / 1.081 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.5434, allocations: 4 kB / 1.081 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5434, allocations: 0 / 1.081 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5434, allocations: 3.984 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5447, allocations: 0.6608 MB / 1.081 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.5447, allocations: 4 kB / 1.081 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.5452, allocations: 63.94 kB / 1.081 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.5457, allocations: 106.4 kB / 1.082 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.5458, allocations: 8 kB / 1.082 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005031/0.5508, allocations: 4.453 MB / 1.086 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5509, allocations: 0 / 1.086 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.5526, allocations: 0.7388 MB / 1.087 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.5531, allocations: 211.9 kB / 1.087 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.5533, allocations: 4 kB / 1.087 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/0.5542, allocations: 31.81 kB / 1.087 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5543, allocations: 23.97 kB / 1.087 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.5543, allocations: 4 kB / 1.087 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001476/0.5558, allocations: 0.6278 MB / 1.087 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5558, allocations: 4 kB / 1.087 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001601/0.5574, allocations: 259.8 kB / 1.088 GB, free: 2.586 MB / 0.8419 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.002026/0.5595, allocations: 1.304 MB / 1.089 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.5617, allocations: 0.9595 MB / 1.09 GB, free: 252 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5617, allocations: 8 kB / 1.09 GB, free: 244 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008678/0.5626, allocations: 0.5155 MB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.5639, allocations: 182.3 kB / 1.091 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/0.582, allocations: 8.329 MB / 1.099 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/0.583, allocations: 0.9878 MB / 1.1 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007723/0.5838, allocations: 145.8 kB / 1.1 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/0.5844, allocations: 275.3 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of SimCode: time 1.343e-06/0.5844, allocations: 0 / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.276/1.86, allocations: 16.96 MB / 1.117 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003811/1.861, allocations: 223.4 kB / 1.117 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.089/6.95, allocations: 0 / 1.117 GB, free: 4.266 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)