Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_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.001421/0.001421, allocations: 108 kB / 15.61 MB, free: 152 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.001335/0.001335, allocations: 198.4 kB / 16.53 MB, free: 6.664 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.44/2.44, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 61.59 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005379/0.2383, allocations: 4.361 MB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004438/0.2428, allocations: 2.941 MB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.2433, allocations: 19.88 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000879/0.2442, allocations: 373.6 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.2454, allocations: 0.6475 MB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2467, allocations: 0.6275 MB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.2486, allocations: 1.871 MB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.2489, allocations: 173.9 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.2497, allocations: 0.58 MB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.2506, allocations: 0.6811 MB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.2508, allocations: 76 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006451/0.2514, allocations: 411.4 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.2519, allocations: 454.6 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.2525, allocations: 0.5984 MB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2539, allocations: 1.456 MB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2539, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2539, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.254, allocations: 4 kB / 1.079 GB, free: 14.96 MB / 0.8419 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.002616/0.2566, allocations: 1.618 MB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2566, allocations: 12.03 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.09e-05/0.2567, allocations: 74.72 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.2569, allocations: 135.3 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.258, allocations: 0.8153 MB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.2581, allocations: 49.38 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/0.2581, allocations: 60.38 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/0.259, allocations: 0.6137 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.259, allocations: 0 / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.259, allocations: 16 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.259, allocations: 12 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.2598, allocations: 0.5621 MB / 1.083 GB, free: 10.86 MB / 0.8419 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.004/0.2638, allocations: 3.29 MB / 1.086 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2651, allocations: 0.8447 MB / 1.087 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.2655, allocations: 367.2 kB / 1.087 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.2656, allocations: 28.27 kB / 1.087 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2656, allocations: 42.94 kB / 1.087 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.403e-06/0.2656, allocations: 0 / 1.087 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001616/0.2672, allocations: 1.182 MB / 1.088 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.2673, allocations: 55.41 kB / 1.088 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.2687, allocations: 1.227 MB / 1.09 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.2688, allocations: 41.7 kB / 1.09 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.2691, allocations: 464.7 kB / 1.09 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.2693, allocations: 173.5 kB / 1.09 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.2695, allocations: 214.5 kB / 1.091 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2697, allocations: 349.9 kB / 1.091 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.2704, allocations: 0.6426 MB / 1.091 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.2714, allocations: 0.9708 MB / 1.092 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.2731, allocations: 1.582 MB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2731, allocations: 4 kB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002177/0.2753, allocations: 1.783 MB / 1.096 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2754, allocations: 8 kB / 1.096 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.2754, allocations: 15.98 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.2755, allocations: 40.84 kB / 1.096 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.2766, allocations: 275.6 kB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/0.2806, allocations: 6.836 MB / 1.103 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.2814, allocations: 126.6 kB / 1.103 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.2814, allocations: 44 kB / 1.103 GB, free: 5.332 MB / 0.8575 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.0003383/0.2818, allocations: 309.5 kB / 1.103 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.2819, allocations: 118.4 kB / 1.103 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.2831, allocations: 0.8272 MB / 1.104 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2831, allocations: 8 kB / 1.104 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2831, allocations: 0 / 1.104 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2831, allocations: 3.984 kB / 1.104 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.2841, allocations: 0.9267 MB / 1.105 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2841, allocations: 0 / 1.105 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.2845, allocations: 107.9 kB / 1.105 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.2847, allocations: 40.77 kB / 1.105 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.2847, allocations: 15.98 kB / 1.105 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009982/0.2857, allocations: 1.437 MB / 1.107 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2857, allocations: 7.922 kB / 1.107 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.2873, allocations: 1.362 MB / 1.108 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.2876, allocations: 271.4 kB / 1.108 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.2877, allocations: 16 kB / 1.108 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.2882, allocations: 31.95 kB / 1.108 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.2883, allocations: 27.97 kB / 1.108 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2884, allocations: 12 kB / 1.108 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001023/0.2894, allocations: 0.8193 MB / 1.109 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.763e-06/0.2894, allocations: 0 / 1.109 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008209/0.2902, allocations: 375.6 kB / 1.109 GB, free: 14.39 MB / 0.8731 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.002216/0.2924, allocations: 2.077 MB / 1.111 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.2948, allocations: 1.616 MB / 1.113 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2948, allocations: 0 / 1.113 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.2954, allocations: 478.1 kB / 1.113 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.2963, allocations: 226.8 kB / 1.114 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.3099, allocations: 12.01 MB / 1.125 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.3106, allocations: 1.098 MB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004502/0.3111, allocations: 203.1 kB / 1.127 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.3116, allocations: 395.3 kB / 1.127 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.3116, allocations: 0 / 1.127 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.067/2.379, allocations: 23.88 MB / 1.15 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.77/21.15, allocations: 8.172 kB / 1.15 GB, free: 4.07 MB / 0.9044 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)