Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_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.00499/0.00499, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001607/0.001607, allocations: 195.4 kB / 16.68 MB, free: 5.523 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.362/2.362, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 67.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.6072, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004554/0.6118, allocations: 3.75 MB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003358/0.6151, allocations: 2.505 MB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.6153, allocations: 15.94 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.6159, allocations: 249.2 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008186/0.6168, allocations: 0.4899 MB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009789/0.6177, allocations: 0.5383 MB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.619, allocations: 1.383 MB / 1.229 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.6193, allocations: 150.1 kB / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.6198, allocations: 422.5 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.6203, allocations: 474.2 kB / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/0.6204, allocations: 52 kB / 1.23 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.6206, allocations: 60 kB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003731/0.621, allocations: 371 kB / 1.23 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.6214, allocations: 461.6 kB / 1.231 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.6222, allocations: 0.9489 MB / 1.232 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6222, allocations: 0 / 1.232 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6223, allocations: 4 kB / 1.232 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.6223, allocations: 0 / 1.232 GB, free: 6.137 MB / 0.9512 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.002029/0.6243, allocations: 1.303 MB / 1.233 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6243, allocations: 8.031 kB / 1.233 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.872e-05/0.6244, allocations: 74.72 kB / 1.233 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.6246, allocations: 104.3 kB / 1.233 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.6255, allocations: 0.68 MB / 1.234 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.6256, allocations: 37.03 kB / 1.234 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.6256, allocations: 64.12 kB / 1.234 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.6262, allocations: 411 kB / 1.234 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6262, allocations: 0 / 1.234 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.6263, allocations: 12 kB / 1.234 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.6263, allocations: 8 kB / 1.234 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.6267, allocations: 238.4 kB / 1.235 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.6295, allocations: 2.494 MB / 1.237 GB, free: 416 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.6308, allocations: 0.5576 MB / 1.238 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.6311, allocations: 164.8 kB / 1.238 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.6311, allocations: 4 kB / 1.238 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.6312, allocations: 30.56 kB / 1.238 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.273e-06/0.6312, allocations: 0 / 1.238 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.00148/0.6326, allocations: 0.8974 MB / 1.239 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.6327, allocations: 51.41 kB / 1.239 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.6338, allocations: 0.9232 MB / 1.24 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.6338, allocations: 41.7 kB / 1.24 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.6341, allocations: 377.2 kB / 1.24 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.6343, allocations: 115 kB / 1.24 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.6345, allocations: 174.6 kB / 1.24 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6347, allocations: 394.8 kB / 1.241 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.635, allocations: 245.8 kB / 1.241 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.6357, allocations: 0.6387 MB / 1.241 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6367, allocations: 0.8815 MB / 1.242 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6367, allocations: 4 kB / 1.242 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001481/0.6382, allocations: 1.026 MB / 1.243 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6382, allocations: 8 kB / 1.243 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6383, allocations: 19.94 kB / 1.243 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.6386, allocations: 134.6 kB / 1.243 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.6392, allocations: 187.7 kB / 1.244 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.6425, allocations: 4.486 MB / 1.248 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/0.6432, allocations: 115.2 kB / 1.248 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.6433, allocations: 44 kB / 1.248 GB, free: 3.957 MB / 0.9669 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.0002809/0.6436, allocations: 274.5 kB / 1.248 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6437, allocations: 83.44 kB / 1.249 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.6438, allocations: 84.52 kB / 1.249 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6439, allocations: 4 kB / 1.249 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.6439, allocations: 0 / 1.249 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6439, allocations: 0 / 1.249 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.6446, allocations: 0.6687 MB / 1.249 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6446, allocations: 0 / 1.249 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.6449, allocations: 59.89 kB / 1.249 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.6452, allocations: 102.5 kB / 1.249 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.6452, allocations: 11.98 kB / 1.249 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/0.6484, allocations: 4.454 MB / 1.254 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6484, allocations: 0 / 1.254 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.6495, allocations: 0.7365 MB / 1.254 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.6497, allocations: 216.3 kB / 1.255 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.6498, allocations: 11.98 kB / 1.255 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.6502, allocations: 15.98 kB / 1.255 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.6503, allocations: 32.14 kB / 1.255 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.6503, allocations: 4 kB / 1.255 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000757/0.6511, allocations: 0.6239 MB / 1.255 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6511, allocations: 3.938 kB / 1.255 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007885/0.6519, allocations: 263.9 kB / 1.256 GB, free: 11.8 MB / 0.9825 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.001328/0.6532, allocations: 1.306 MB / 1.257 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.6544, allocations: 0.9155 MB / 1.258 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6544, allocations: 3.938 kB / 1.258 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.655, allocations: 0.5208 MB / 1.258 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.6558, allocations: 185.3 kB / 1.258 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.6651, allocations: 7.831 MB / 1.266 GB, free: 404 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.6657, allocations: 0.9917 MB / 1.267 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003126/0.666, allocations: 157.8 kB / 1.267 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.6664, allocations: 279.3 kB / 1.268 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.6664, allocations: 0 / 1.268 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4179/1.084, allocations: 17.27 MB / 1.284 GB, free: 13.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.49, allocations: 7.922 kB / 1.284 GB, free: 13.91 MB / 1.014 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)