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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001138/0.001138, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.207/2.207, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4589, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005111/0.4641, allocations: 4.377 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003946/0.4681, allocations: 2.974 MB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.4685, allocations: 19.88 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.4693, allocations: 330.3 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.4704, allocations: 0.599 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.4715, allocations: 0.5532 MB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.4731, allocations: 2.194 MB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.4734, allocations: 161.8 kB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.4739, allocations: 0.5253 MB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.4745, allocations: 0.6694 MB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.4746, allocations: 48 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.4752, allocations: 399.4 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.4756, allocations: 426.6 kB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.476, allocations: 0.571 MB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.4771, allocations: 1.429 MB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4771, allocations: 4 kB / 1.032 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4771, allocations: 4 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4771, allocations: 0 / 1.032 GB, free: 3.5 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.002381/0.4795, allocations: 1.604 MB / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.4795, allocations: 8.031 kB / 1.033 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.854e-05/0.4796, allocations: 82.7 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.4798, allocations: 135.2 kB / 1.033 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4808, allocations: 0.8193 MB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.4809, allocations: 49.31 kB / 1.034 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.4809, allocations: 64.28 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.4817, allocations: 0.6101 MB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4817, allocations: 3.938 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.4817, allocations: 16 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4818, allocations: 12 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.4824, allocations: 0.5699 MB / 1.035 GB, free: 15.39 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.003905/0.4863, allocations: 3.278 MB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.4885, allocations: 0.8504 MB / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.4892, allocations: 361.4 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.4893, allocations: 28.23 kB / 1.04 GB, free: 10.63 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4893, allocations: 38.94 kB / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.4893, allocations: 0 / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002521/0.4919, allocations: 1.186 MB / 1.041 GB, free: 9.367 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4919, allocations: 55.41 kB / 1.041 GB, free: 9.301 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.4937, allocations: 1.227 MB / 1.042 GB, free: 8.062 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.4938, allocations: 45.64 kB / 1.042 GB, free: 8.012 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.4941, allocations: 464.7 kB / 1.043 GB, free: 7.551 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.4942, allocations: 177.5 kB / 1.043 GB, free: 7.375 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.4945, allocations: 214.5 kB / 1.043 GB, free: 7.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4946, allocations: 345.9 kB / 1.044 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.4953, allocations: 0.6426 MB / 1.044 GB, free: 6.176 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.4961, allocations: 0.9669 MB / 1.045 GB, free: 5.066 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.4976, allocations: 1.59 MB / 1.047 GB, free: 3.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4976, allocations: 4 kB / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001945/0.4995, allocations: 1.783 MB / 1.048 GB, free: 1.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4996, allocations: 8 kB / 1.048 GB, free: 1.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.4996, allocations: 15.98 kB / 1.048 GB, free: 1.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.4998, allocations: 40.84 kB / 1.048 GB, free: 1.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/0.5008, allocations: 275.6 kB / 1.049 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.504, allocations: 6.733 MB / 1.055 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/0.5048, allocations: 134.6 kB / 1.055 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.5048, allocations: 44 kB / 1.055 GB, free: 9.969 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.0003004/0.5051, allocations: 290 kB / 1.056 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5053, allocations: 114.7 kB / 1.056 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.5063, allocations: 0.8542 MB / 1.057 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5063, allocations: 4 kB / 1.057 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5063, allocations: 0 / 1.057 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5064, allocations: 7.922 kB / 1.057 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.5072, allocations: 0.9035 MB / 1.058 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5072, allocations: 0 / 1.058 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.5077, allocations: 111.9 kB / 1.058 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.5078, allocations: 40.7 kB / 1.058 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.5078, allocations: 12 kB / 1.058 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007893/0.5086, allocations: 1.334 MB / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5087, allocations: 0 / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.5101, allocations: 1.378 MB / 1.06 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.5104, allocations: 263.4 kB / 1.061 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5105, allocations: 16 kB / 1.061 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.511, allocations: 27.95 kB / 1.061 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.5111, allocations: 31.95 kB / 1.061 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.5111, allocations: 12 kB / 1.061 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009139/0.512, allocations: 0.8194 MB / 1.062 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.512, allocations: 0 / 1.062 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007838/0.5128, allocations: 379.5 kB / 1.062 GB, free: 3.148 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.001979/0.5148, allocations: 2.083 MB / 1.064 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.5168, allocations: 1.503 MB / 1.065 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5168, allocations: 0.625 kB / 1.065 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.5173, allocations: 482 kB / 1.066 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.5182, allocations: 214.2 kB / 1.066 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.5346, allocations: 12.28 MB / 1.078 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.5352, allocations: 1.106 MB / 1.079 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004276/0.5356, allocations: 199.1 kB / 1.079 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.536, allocations: 399.3 kB / 1.08 GB, free: 288 kB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.536, allocations: 0 / 1.08 GB, free: 288 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.496/3.032, allocations: 23.12 MB / 1.102 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/3.032, allocations: 242.6 kB / 1.102 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/5.19, allocations: 0 / 1.102 GB, free: 9.219 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)