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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005159/0.005164, allocations: 103.8 kB / 15.73 MB, free: 6.473 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.001214/0.001214, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.22 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2287, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005162/0.2339, allocations: 4.36 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004478/0.2384, allocations: 2.951 MB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.2388, allocations: 23.88 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.2396, allocations: 357.7 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2407, allocations: 0.6431 MB / 1.096 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.242, allocations: 0.6454 MB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.2438, allocations: 1.878 MB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.244, allocations: 177.9 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/0.2447, allocations: 0.58 MB / 1.099 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007486/0.2455, allocations: 0.6577 MB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.2456, allocations: 76 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006005/0.2462, allocations: 415.4 kB / 1.1 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.2466, allocations: 462.7 kB / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.2471, allocations: 0.5984 MB / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2484, allocations: 1.472 MB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2484, allocations: 0 / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2484, allocations: 4 kB / 1.102 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.2485, allocations: 0 / 1.102 GB, free: 2.68 MB / 0.8575 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.002751/0.2512, allocations: 1.62 MB / 1.104 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2513, allocations: 12.03 kB / 1.104 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.623e-05/0.2514, allocations: 82.66 kB / 1.104 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.2515, allocations: 131.3 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.2529, allocations: 0.8428 MB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.2529, allocations: 49.31 kB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.253, allocations: 60.38 kB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.2539, allocations: 0.6176 MB / 1.106 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2539, allocations: 0 / 1.106 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.2539, allocations: 16 kB / 1.106 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.254, allocations: 11.98 kB / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.2547, allocations: 0.5621 MB / 1.106 GB, free: 14.54 MB / 0.8731 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.004271/0.259, allocations: 3.27 MB / 1.109 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.2604, allocations: 0.8442 MB / 1.11 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.2608, allocations: 365.4 kB / 1.111 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.15e-05/0.2609, allocations: 24.27 kB / 1.111 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2609, allocations: 46.92 kB / 1.111 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 1.804e-06/0.2609, allocations: 0 / 1.111 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001652/0.2626, allocations: 1.172 MB / 1.112 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2626, allocations: 55.41 kB / 1.112 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.2641, allocations: 1.231 MB / 1.113 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2642, allocations: 41.7 kB / 1.113 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.2645, allocations: 464.7 kB / 1.114 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.2647, allocations: 173.5 kB / 1.114 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.2649, allocations: 214.5 kB / 1.114 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.265, allocations: 349.9 kB / 1.114 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/0.2658, allocations: 0.6426 MB / 1.115 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009639/0.2668, allocations: 0.9747 MB / 1.116 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.2685, allocations: 1.582 MB / 1.117 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.2685, allocations: 4 kB / 1.117 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0022/0.2707, allocations: 1.783 MB / 1.119 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.2707, allocations: 14.34 kB / 1.119 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.2707, allocations: 15.98 kB / 1.119 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.2709, allocations: 48.77 kB / 1.119 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.2721, allocations: 267.9 kB / 1.119 GB, free: 372 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/0.2759, allocations: 6.839 MB / 1.126 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/0.2768, allocations: 122.7 kB / 1.126 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.2769, allocations: 40 kB / 1.126 GB, free: 9.039 MB / 0.8887 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.0003875/0.2773, allocations: 309.5 kB / 1.127 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.2775, allocations: 114.4 kB / 1.127 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.2787, allocations: 0.8375 MB / 1.128 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2787, allocations: 4 kB / 1.128 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2787, allocations: 0 / 1.128 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2787, allocations: 3.984 kB / 1.128 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2797, allocations: 0.919 MB / 1.128 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2797, allocations: 7.938 kB / 1.128 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.2803, allocations: 107.9 kB / 1.129 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.2804, allocations: 36.77 kB / 1.129 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.2805, allocations: 19.98 kB / 1.129 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009456/0.2814, allocations: 1.437 MB / 1.13 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2814, allocations: 0 / 1.13 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.283, allocations: 1.362 MB / 1.131 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.2834, allocations: 271.4 kB / 1.132 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.2835, allocations: 11.98 kB / 1.132 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.2841, allocations: 27.97 kB / 1.132 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.2842, allocations: 23.97 kB / 1.132 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.2842, allocations: 19.92 kB / 1.132 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001048/0.2853, allocations: 0.8194 MB / 1.132 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2853, allocations: 0 / 1.132 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009747/0.2863, allocations: 367.7 kB / 1.133 GB, free: 2.105 MB / 0.8887 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.002342/0.2886, allocations: 2.076 MB / 1.135 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.2911, allocations: 1.507 MB / 1.136 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2911, allocations: 192 / 1.136 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.2917, allocations: 490.2 kB / 1.137 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.2927, allocations: 229.6 kB / 1.137 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.3065, allocations: 11.52 MB / 1.148 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.3072, allocations: 1.102 MB / 1.149 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000515/0.3077, allocations: 203.1 kB / 1.15 GB, free: 496 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.3082, allocations: 403.3 kB / 1.15 GB, free: 92 kB / 0.9044 GB Notification: Performance of SimCode: time 7.12e-07/0.3082, allocations: 0 / 1.15 GB, free: 92 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.367/2.675, allocations: 24.16 MB / 1.174 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/18.35, allocations: 13.41 kB / 1.174 GB, free: 8.227 MB / 0.9356 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)