Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.08/2.08, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 71.88 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4789, allocations: 140.3 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004129/0.483, allocations: 4.363 MB / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.4867, allocations: 2.939 MB / 0.9568 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005595/0.4873, allocations: 25.59 kB / 0.9569 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.4881, allocations: 361.3 kB / 0.9572 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009256/0.4891, allocations: 0.6393 MB / 0.9578 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.4902, allocations: 0.6295 MB / 0.9584 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.4914, allocations: 1.889 MB / 0.9603 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.4917, allocations: 182.1 kB / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.4922, allocations: 0.576 MB / 0.961 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.4929, allocations: 0.6745 MB / 0.9617 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.493, allocations: 75.94 kB / 0.9617 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005581/0.4936, allocations: 403.4 kB / 0.9621 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.494, allocations: 465.2 kB / 0.9626 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.4945, allocations: 0.5941 MB / 0.9632 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.4957, allocations: 1.457 MB / 0.9646 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.4957, allocations: 0 / 0.9646 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4957, allocations: 1.031 kB / 0.9646 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.4957, allocations: 0 / 0.9646 GB, free: 14.3 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002485/0.4982, allocations: 1.617 MB / 0.9662 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.4982, allocations: 10.12 kB / 0.9662 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.5e-05/0.4983, allocations: 88.83 kB / 0.9663 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.4985, allocations: 136.1 kB / 0.9664 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4996, allocations: 0.8145 MB / 0.9672 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.4996, allocations: 40.09 kB / 0.9672 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.4997, allocations: 73.45 kB / 0.9673 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/0.5005, allocations: 0.617 MB / 0.9679 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5005, allocations: 0 / 0.9679 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.5005, allocations: 16.16 kB / 0.9679 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.5006, allocations: 10.78 kB / 0.9679 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.5012, allocations: 0.5604 MB / 0.9685 GB, free: 11.7 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.003733/0.505, allocations: 3.287 MB / 0.9717 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.5062, allocations: 0.8407 MB / 0.9725 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.5066, allocations: 368.3 kB / 0.9728 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.908e-05/0.5066, allocations: 24.67 kB / 0.9729 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.5067, allocations: 37.41 kB / 0.9729 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.5067, allocations: 0 / 0.9729 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001505/0.5082, allocations: 1.174 MB / 0.9741 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.5082, allocations: 59.69 kB / 0.9741 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.5095, allocations: 1.237 MB / 0.9753 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.5096, allocations: 41.7 kB / 0.9754 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.5099, allocations: 464.7 kB / 0.9758 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.51, allocations: 177.5 kB / 0.976 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.5103, allocations: 206.5 kB / 0.9762 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5104, allocations: 357.9 kB / 0.9765 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/0.511, allocations: 0.6426 MB / 0.9771 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008939/0.5119, allocations: 0.9708 MB / 0.9781 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.5134, allocations: 1.586 MB / 0.9796 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5134, allocations: 4 kB / 0.9796 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001924/0.5153, allocations: 1.779 MB / 0.9814 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5154, allocations: 8 kB / 0.9814 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.5154, allocations: 15.94 kB / 0.9814 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.5156, allocations: 49.33 kB / 0.9814 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5166, allocations: 263.7 kB / 0.9817 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.5197, allocations: 6.832 MB / 0.9884 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.5206, allocations: 134.7 kB / 0.9885 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.5206, allocations: 36 kB / 0.9885 GB, free: 8.914 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0003106/0.5209, allocations: 301.4 kB / 0.9888 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.5211, allocations: 110.5 kB / 0.9889 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.5221, allocations: 0.8646 MB / 0.9898 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5222, allocations: 8 kB / 0.9898 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.5222, allocations: 3.938 kB / 0.9898 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5222, allocations: 0 / 0.9898 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008792/0.5231, allocations: 0.9074 MB / 0.9907 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5231, allocations: 4 kB / 0.9907 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.5235, allocations: 111.8 kB / 0.9908 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.5237, allocations: 36.83 kB / 0.9908 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.5237, allocations: 8 kB / 0.9908 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008283/0.5245, allocations: 1.445 MB / 0.9922 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5246, allocations: 0 / 0.9922 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5259, allocations: 1.358 MB / 0.9936 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.5263, allocations: 263.5 kB / 0.9938 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5264, allocations: 27.86 kB / 0.9938 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.5269, allocations: 23.97 kB / 0.9939 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.527, allocations: 31.95 kB / 0.9939 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.527, allocations: 12 kB / 0.9939 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009765/0.528, allocations: 0.8194 MB / 0.9947 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.528, allocations: 4 kB / 0.9947 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009177/0.5289, allocations: 363.8 kB / 0.995 GB, free: 1.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.002022/0.531, allocations: 2.089 MB / 0.9971 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.5332, allocations: 1.601 MB / 0.9986 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5332, allocations: 4 kB / 0.9987 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.5337, allocations: 478.6 kB / 0.9991 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.5346, allocations: 223.5 kB / 0.9993 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.547, allocations: 12.03 MB / 1.011 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.5476, allocations: 1.098 MB / 1.012 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004534/0.5481, allocations: 203.1 kB / 1.012 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.5485, allocations: 399.3 kB / 1.013 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5485, allocations: 3.938 kB / 1.013 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.075/3.624, allocations: 23.87 MB / 1.036 GB, free: 7.672 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.95/21.57, allocations: 7.266 kB / 1.036 GB, free: 7.668 MB / 0.795 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)