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.00122/0.00122, 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.001221/0.001221, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.179/1.179, 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.1/2.1, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4723, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003748/0.4761, allocations: 4.373 MB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.4791, allocations: 2.938 MB / 0.9564 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.4794, allocations: 22.84 kB / 0.9564 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.48, allocations: 326.3 kB / 0.9567 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007756/0.4808, allocations: 0.5861 MB / 0.9573 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000839/0.4817, allocations: 0.5871 MB / 0.9578 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.4829, allocations: 1.881 MB / 0.9597 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.4831, allocations: 178.1 kB / 0.9598 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.4836, allocations: 0.591 MB / 0.9604 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006022/0.4842, allocations: 0.7091 MB / 0.9611 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4844, allocations: 80.22 kB / 0.9612 GB, free: 268 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.4848, allocations: 403.6 kB / 0.9616 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.4852, allocations: 473.3 kB / 0.962 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.4857, allocations: 0.5936 MB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.4869, allocations: 1.464 MB / 0.964 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4869, allocations: 3.984 kB / 0.964 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4869, allocations: 0 / 0.964 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.4869, allocations: 0 / 0.964 GB, free: 14.41 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.00254/0.4895, allocations: 1.61 MB / 0.9656 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.4895, allocations: 13.91 kB / 0.9656 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.219e-05/0.4896, allocations: 81.12 kB / 0.9657 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.4898, allocations: 135.4 kB / 0.9658 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.4909, allocations: 0.8152 MB / 0.9666 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.4909, allocations: 43.72 kB / 0.9667 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.491, allocations: 65.56 kB / 0.9667 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.4918, allocations: 0.6174 MB / 0.9673 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4919, allocations: 0 / 0.9673 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.4919, allocations: 20.03 kB / 0.9674 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4919, allocations: 10.84 kB / 0.9674 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.4926, allocations: 0.5569 MB / 0.9679 GB, free: 11.84 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.003863/0.4965, allocations: 3.284 MB / 0.9711 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.4977, allocations: 0.8515 MB / 0.9719 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.4981, allocations: 364.4 kB / 0.9723 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.4982, allocations: 25.02 kB / 0.9723 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4982, allocations: 37.75 kB / 0.9724 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.382e-06/0.4982, allocations: 0 / 0.9724 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00151/0.4997, allocations: 1.174 MB / 0.9735 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.4998, allocations: 58.81 kB / 0.9736 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.5011, allocations: 1.236 MB / 0.9748 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.5012, allocations: 40.36 kB / 0.9748 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.5015, allocations: 466.6 kB / 0.9752 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.5017, allocations: 180.6 kB / 0.9754 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.5019, allocations: 205.4 kB / 0.9756 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.502, allocations: 353.9 kB / 0.9759 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.5027, allocations: 0.6465 MB / 0.9766 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/0.5036, allocations: 0.9747 MB / 0.9775 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.5051, allocations: 1.582 MB / 0.9791 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.5051, allocations: 4 kB / 0.9791 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001993/0.5071, allocations: 1.783 MB / 0.9808 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5072, allocations: 14.03 kB / 0.9808 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.5072, allocations: 12 kB / 0.9808 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.5074, allocations: 49.17 kB / 0.9809 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5084, allocations: 271.6 kB / 0.9812 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/0.5118, allocations: 6.828 MB / 0.9878 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008142/0.5126, allocations: 138.9 kB / 0.988 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.5127, allocations: 40 kB / 0.988 GB, free: 9.176 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.000313/0.513, allocations: 301.5 kB / 0.9883 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.5132, allocations: 110.5 kB / 0.9884 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.5142, allocations: 0.8529 MB / 0.9892 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5142, allocations: 4 kB / 0.9892 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.5143, allocations: 0 / 0.9892 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5143, allocations: 3.984 kB / 0.9892 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008893/0.5152, allocations: 0.9074 MB / 0.9901 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5152, allocations: 0 / 0.9901 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.5157, allocations: 107.9 kB / 0.9902 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.5158, allocations: 36.83 kB / 0.9902 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.5158, allocations: 19.98 kB / 0.9903 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008635/0.5167, allocations: 1.441 MB / 0.9917 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5167, allocations: 4.031 kB / 0.9917 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.5181, allocations: 1.362 MB / 0.993 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.5185, allocations: 271.4 kB / 0.9933 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5186, allocations: 12.11 kB / 0.9933 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.5191, allocations: 35.89 kB / 0.9933 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.5192, allocations: 23.97 kB / 0.9933 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.5192, allocations: 15.98 kB / 0.9934 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009344/0.5202, allocations: 0.8233 MB / 0.9942 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5202, allocations: 0 / 0.9942 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008422/0.521, allocations: 367.6 kB / 0.9945 GB, free: 2.246 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.002041/0.5231, allocations: 2.084 MB / 0.9965 GB, free: 136 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.5253, allocations: 1.601 MB / 0.9981 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5253, allocations: 0 / 0.9981 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.5259, allocations: 494.2 kB / 0.9986 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.5268, allocations: 215 kB / 0.9988 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.5404, allocations: 12.3 MB / 1.011 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.541, allocations: 1.094 MB / 1.012 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004433/0.5414, allocations: 203.1 kB / 1.012 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.5419, allocations: 403.7 kB / 1.012 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.5419, allocations: 0 / 1.012 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.673/4.215, allocations: 23.71 MB / 1.036 GB, free: 7.859 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/4.215, allocations: 242 kB / 1.036 GB, free: 7.602 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/7.494, allocations: 0 / 1.036 GB, free: 7.602 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)