Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_10_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.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 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.00115/0.00115, allocations: 194 kB / 16.53 MB, free: 6.391 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5333, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004421/0.5377, allocations: 4.355 MB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.5413, allocations: 2.946 MB / 1.025 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.5415, allocations: 19.88 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.5423, allocations: 365.7 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009384/0.5432, allocations: 0.6415 MB / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.5442, allocations: 0.6353 MB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.5456, allocations: 1.874 MB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.5458, allocations: 169.9 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005163/0.5463, allocations: 0.5762 MB / 1.029 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.547, allocations: 0.685 MB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.5471, allocations: 76 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.5477, allocations: 411.4 kB / 1.03 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.5481, allocations: 450.7 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.5485, allocations: 0.6023 MB / 1.031 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.5496, allocations: 1.452 MB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5496, allocations: 3.938 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5496, allocations: 0 / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.5496, allocations: 4 kB / 1.032 GB, free: 3.164 MB / 0.7794 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.002357/0.552, allocations: 1.616 MB / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.552, allocations: 15.98 kB / 1.034 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.036e-05/0.5521, allocations: 74.72 kB / 1.034 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.5523, allocations: 139.2 kB / 1.034 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009996/0.5533, allocations: 0.8154 MB / 1.035 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.5533, allocations: 49.38 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.5534, allocations: 64.28 kB / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.5541, allocations: 0.6099 MB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5541, allocations: 3.984 kB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.5542, allocations: 16 kB / 1.036 GB, free: 15.63 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5542, allocations: 12 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.5549, allocations: 0.5699 MB / 1.036 GB, free: 15.05 MB / 0.795 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.003586/0.5585, allocations: 3.278 MB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.5597, allocations: 0.8517 MB / 1.04 GB, free: 10.67 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.56, allocations: 367.5 kB / 1.041 GB, free: 10.31 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.5601, allocations: 24.34 kB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5601, allocations: 38.94 kB / 1.041 GB, free: 10.24 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 1.462e-06/0.5601, allocations: 3.938 kB / 1.041 GB, free: 10.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001439/0.5616, allocations: 1.182 MB / 1.042 GB, free: 9.023 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.5616, allocations: 55.41 kB / 1.042 GB, free: 8.957 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.5629, allocations: 1.227 MB / 1.043 GB, free: 7.719 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.563, allocations: 45.7 kB / 1.043 GB, free: 7.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.5633, allocations: 460.7 kB / 1.043 GB, free: 7.211 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.5634, allocations: 173.5 kB / 1.044 GB, free: 7.039 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.5636, allocations: 214.5 kB / 1.044 GB, free: 6.824 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5637, allocations: 349.9 kB / 1.044 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.5644, allocations: 0.6464 MB / 1.045 GB, free: 5.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/0.5652, allocations: 0.9708 MB / 1.046 GB, free: 4.715 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.5666, allocations: 1.582 MB / 1.047 GB, free: 2.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5666, allocations: 8 kB / 1.047 GB, free: 2.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001903/0.5686, allocations: 1.779 MB / 1.049 GB, free: 1.195 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5686, allocations: 11.98 kB / 1.049 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.5686, allocations: 12 kB / 1.049 GB, free: 1.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.5688, allocations: 44.84 kB / 1.049 GB, free: 1.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.5698, allocations: 267.6 kB / 1.049 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.5729, allocations: 6.836 MB / 1.056 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.5737, allocations: 130.6 kB / 1.056 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.5737, allocations: 43.94 kB / 1.056 GB, free: 9.531 MB / 0.8106 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.0003042/0.574, allocations: 302.8 kB / 1.057 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5742, allocations: 118.5 kB / 1.057 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.5752, allocations: 0.8387 MB / 1.057 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5752, allocations: 4 kB / 1.057 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5752, allocations: 0 / 1.057 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5753, allocations: 7.984 kB / 1.057 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.5761, allocations: 0.9113 MB / 1.058 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5761, allocations: 0 / 1.058 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.5766, allocations: 111.8 kB / 1.058 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/0.5767, allocations: 32.83 kB / 1.058 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.5767, allocations: 19.98 kB / 1.059 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/0.5775, allocations: 1.441 MB / 1.06 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5775, allocations: 0 / 1.06 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.5789, allocations: 1.366 MB / 1.061 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.5792, allocations: 267.4 kB / 1.062 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5794, allocations: 16 kB / 1.062 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.5799, allocations: 36.02 kB / 1.062 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.5799, allocations: 23.97 kB / 1.062 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.58, allocations: 12 kB / 1.062 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009156/0.5809, allocations: 0.8193 MB / 1.062 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5809, allocations: 0 / 1.062 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000787/0.5817, allocations: 367.7 kB / 1.063 GB, free: 2.605 MB / 0.8106 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.001954/0.5837, allocations: 2.091 MB / 1.065 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.5858, allocations: 1.608 MB / 1.066 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5858, allocations: 0 / 1.066 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.5863, allocations: 478.1 kB / 1.067 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.5872, allocations: 228.5 kB / 1.067 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.5993, allocations: 12.01 MB / 1.079 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.5999, allocations: 1.106 MB / 1.08 GB, free: 476 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004379/0.6003, allocations: 211.1 kB / 1.08 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.6007, allocations: 395.3 kB / 1.08 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.6008, allocations: 0 / 1.08 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/0.7162, allocations: 23.87 MB / 1.104 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/17.42, allocations: 4.062 kB / 1.104 GB, free: 8.301 MB / 0.8575 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)