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.001406/0.001406, 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.001677/0.001677, allocations: 189.5 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.364/2.364, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 0.8688 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5067, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005006/0.5118, allocations: 4.373 MB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.516, allocations: 2.946 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.5166, allocations: 23.81 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000864/0.5174, allocations: 322.3 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.5186, allocations: 0.599 MB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.5198, allocations: 0.571 MB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.5214, allocations: 1.878 MB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.5216, allocations: 181.9 kB / 1.028 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.5222, allocations: 0.5878 MB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.523, allocations: 0.7201 MB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.5231, allocations: 76 kB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.5236, allocations: 403.4 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.524, allocations: 458.7 kB / 1.03 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.5245, allocations: 0.6023 MB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5256, allocations: 1.464 MB / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5256, allocations: 0 / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.21e-07/0.5257, allocations: 0 / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5257, allocations: 0 / 1.032 GB, free: 3.461 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.00251/0.5282, allocations: 1.616 MB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.5282, allocations: 15.98 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.955e-05/0.5283, allocations: 78.72 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.5285, allocations: 135.2 kB / 1.034 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.5296, allocations: 0.8154 MB / 1.034 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.5296, allocations: 45.38 kB / 1.034 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.5297, allocations: 68.28 kB / 1.034 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/0.5305, allocations: 0.6138 MB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5305, allocations: 0 / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.5306, allocations: 20 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5306, allocations: 12 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.5313, allocations: 0.5543 MB / 1.036 GB, free: 15.36 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.003876/0.5352, allocations: 3.278 MB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.5364, allocations: 0.8588 MB / 1.04 GB, free: 10.97 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.5369, allocations: 367.2 kB / 1.04 GB, free: 10.61 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.5369, allocations: 20.36 kB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5369, allocations: 38.94 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 1.453e-06/0.537, allocations: 0 / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001533/0.5385, allocations: 1.186 MB / 1.041 GB, free: 9.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.5385, allocations: 55.41 kB / 1.041 GB, free: 9.262 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.5399, allocations: 1.227 MB / 1.042 GB, free: 8.023 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.5399, allocations: 41.7 kB / 1.042 GB, free: 7.977 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.5403, allocations: 468.7 kB / 1.043 GB, free: 7.512 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.5404, allocations: 173.5 kB / 1.043 GB, free: 7.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.5406, allocations: 210.5 kB / 1.043 GB, free: 7.129 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5408, allocations: 353.9 kB / 1.044 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/0.5415, allocations: 0.6503 MB / 1.044 GB, free: 6.129 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008946/0.5424, allocations: 0.9747 MB / 1.045 GB, free: 5.012 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.5439, allocations: 1.582 MB / 1.047 GB, free: 3.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.544, allocations: 4 kB / 1.047 GB, free: 3.281 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002036/0.546, allocations: 1.779 MB / 1.049 GB, free: 1.492 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.546, allocations: 12 kB / 1.049 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.5461, allocations: 16.06 kB / 1.049 GB, free: 1.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.5462, allocations: 48.83 kB / 1.049 GB, free: 1.414 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5473, allocations: 267.6 kB / 1.049 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.5509, allocations: 6.828 MB / 1.056 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000821/0.5518, allocations: 134.6 kB / 1.056 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.5518, allocations: 40 kB / 1.056 GB, free: 9.828 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.0003358/0.5522, allocations: 308.1 kB / 1.056 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.5523, allocations: 118.5 kB / 1.056 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.5534, allocations: 0.8387 MB / 1.057 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5534, allocations: 4 kB / 1.057 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.5534, allocations: 0 / 1.057 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5535, allocations: 3.984 kB / 1.057 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.5544, allocations: 0.9113 MB / 1.058 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5544, allocations: 4 kB / 1.058 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.5549, allocations: 111.8 kB / 1.058 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.555, allocations: 36.77 kB / 1.058 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.5551, allocations: 19.98 kB / 1.058 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009082/0.556, allocations: 1.441 MB / 1.059 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.556, allocations: 0 / 1.059 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.5575, allocations: 1.362 MB / 1.061 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.5578, allocations: 267.4 kB / 1.061 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.558, allocations: 16 kB / 1.061 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.5585, allocations: 32.02 kB / 1.061 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.5586, allocations: 27.97 kB / 1.061 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.5586, allocations: 15.98 kB / 1.061 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009927/0.5596, allocations: 0.8193 MB / 1.062 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5596, allocations: 0 / 1.062 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008573/0.5605, allocations: 371.6 kB / 1.062 GB, free: 2.891 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.002125/0.5626, allocations: 2.092 MB / 1.064 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.565, allocations: 1.604 MB / 1.066 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.565, allocations: 0 / 1.066 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.5655, allocations: 482 kB / 1.066 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.5665, allocations: 222.2 kB / 1.066 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.5798, allocations: 12.29 MB / 1.078 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.5804, allocations: 1.102 MB / 1.08 GB, free: 488 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004421/0.5809, allocations: 199.1 kB / 1.08 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.5813, allocations: 407.3 kB / 1.08 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.5813, allocations: 0 / 1.08 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.267/3.849, allocations: 23.72 MB / 1.103 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/3.849, allocations: 238.8 kB / 1.104 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/6.382, allocations: 7.938 kB / 1.104 GB, free: 8.254 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)