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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007191/0.0007191, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.004002/0.004002, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.005/2.005, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4866, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.002836/0.4895, allocations: 3.976 MB / 0.959 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.4924, allocations: 2.932 MB / 0.9619 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.4926, allocations: 21.88 kB / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.4932, allocations: 324.8 kB / 0.9622 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007669/0.494, allocations: 0.5987 MB / 0.9628 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.4948, allocations: 0.5472 MB / 0.9633 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4963, allocations: 2.197 MB / 0.9655 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.4965, allocations: 168.5 kB / 0.9657 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.497, allocations: 0.5114 MB / 0.9662 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.4977, allocations: 0.6667 MB / 0.9668 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.02e-05/0.4978, allocations: 42.59 kB / 0.9668 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.4983, allocations: 390.6 kB / 0.9672 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.4987, allocations: 425.4 kB / 0.9676 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.4992, allocations: 0.5816 MB / 0.9682 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.5003, allocations: 1.406 MB / 0.9696 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.5003, allocations: 0 / 0.9696 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5003, allocations: 0 / 0.9696 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.5003, allocations: 0 / 0.9696 GB, free: 13.36 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.002161/0.5025, allocations: 1.462 MB / 0.971 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.5025, allocations: 9.469 kB / 0.971 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.852e-05/0.5026, allocations: 85.39 kB / 0.9711 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.5027, allocations: 135.8 kB / 0.9712 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5038, allocations: 0.8186 MB / 0.972 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.5038, allocations: 43.62 kB / 0.9721 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.975e-05/0.5039, allocations: 61.75 kB / 0.9721 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.5047, allocations: 0.6183 MB / 0.9727 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5047, allocations: 1 kB / 0.9727 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.5047, allocations: 15.88 kB / 0.9727 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5048, allocations: 13.69 kB / 0.9727 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.5054, allocations: 0.5643 MB / 0.9733 GB, free: 10.88 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.003588/0.509, allocations: 3.296 MB / 0.9765 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5102, allocations: 0.8539 MB / 0.9773 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.5106, allocations: 367.3 kB / 0.9777 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.5107, allocations: 28.64 kB / 0.9777 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5107, allocations: 41.5 kB / 0.9778 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.543e-06/0.5107, allocations: 0 / 0.9778 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001455/0.5122, allocations: 1.182 MB / 0.9789 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.5122, allocations: 55.41 kB / 0.979 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.5135, allocations: 1.224 MB / 0.9802 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.5136, allocations: 49.64 kB / 0.9802 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.5139, allocations: 472.6 kB / 0.9807 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.514, allocations: 169.6 kB / 0.9808 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.5141, allocations: 121.6 kB / 0.9809 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5142, allocations: 357.9 kB / 0.9813 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.5149, allocations: 0.6464 MB / 0.9819 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/0.5158, allocations: 0.9747 MB / 0.9829 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.5172, allocations: 1.586 MB / 0.9844 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5172, allocations: 0 / 0.9844 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001914/0.5191, allocations: 1.787 MB / 0.9862 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5192, allocations: 13.5 kB / 0.9862 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.5192, allocations: 16 kB / 0.9862 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.5194, allocations: 49.23 kB / 0.9862 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.5204, allocations: 271.6 kB / 0.9865 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.5234, allocations: 6.729 MB / 0.9931 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007787/0.5242, allocations: 138.9 kB / 0.9932 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.5242, allocations: 40 kB / 0.9932 GB, free: 7.18 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.0003033/0.5245, allocations: 301.4 kB / 0.9935 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.5247, allocations: 114.5 kB / 0.9936 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.5257, allocations: 0.8568 MB / 0.9945 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5257, allocations: 4 kB / 0.9945 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5257, allocations: 0 / 0.9945 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5257, allocations: 0 / 0.9945 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008415/0.5266, allocations: 0.9074 MB / 0.9954 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5266, allocations: 3.984 kB / 0.9954 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.527, allocations: 119.8 kB / 0.9955 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-05/0.5271, allocations: 36.83 kB / 0.9955 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.5272, allocations: 12 kB / 0.9955 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007606/0.528, allocations: 1.335 MB / 0.9968 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.528, allocations: 0 / 0.9968 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.5293, allocations: 1.374 MB / 0.9982 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.5296, allocations: 267.5 kB / 0.9984 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5297, allocations: 15.98 kB / 0.9984 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.5303, allocations: 31.97 kB / 0.9985 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.5303, allocations: 23.95 kB / 0.9985 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.5304, allocations: 16 kB / 0.9985 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009066/0.5313, allocations: 0.8232 MB / 0.9993 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5313, allocations: 0 / 0.9993 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008136/0.5321, allocations: 371.6 kB / 0.9997 GB, free: 352 kB / 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.001951/0.5341, allocations: 2.096 MB / 1.002 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.5361, allocations: 1.51 MB / 1.003 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5361, allocations: 0 / 1.003 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.5366, allocations: 482.3 kB / 1.004 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.5375, allocations: 213.3 kB / 1.004 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.5506, allocations: 12.5 MB / 1.016 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.5512, allocations: 1.098 MB / 1.017 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004409/0.5516, allocations: 203.1 kB / 1.017 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.552, allocations: 407.2 kB / 1.018 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.552, allocations: 0 / 1.018 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8576/1.41, allocations: 22.73 MB / 1.04 GB, free: 6.832 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.41, allocations: 234.1 kB / 1.04 GB, free: 6.582 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/3.685, allocations: 3.938 kB / 1.04 GB, free: 6.578 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)