Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 108 kB / 15.6 MB, free: 132 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.00145/0.00145, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 71.14 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2793, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006034/0.2854, allocations: 4.336 MB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006035/0.2915, allocations: 2.988 MB / 0.7905 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006168/0.2921, allocations: 23.88 kB / 0.7905 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.2932, allocations: 349.7 kB / 0.7909 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.2945, allocations: 0.6571 MB / 0.7915 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.296, allocations: 0.6236 MB / 0.7921 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.2979, allocations: 1.873 MB / 0.7939 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.2982, allocations: 177.9 kB / 0.7941 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.299, allocations: 0.584 MB / 0.7947 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008198/0.2998, allocations: 0.6695 MB / 0.7953 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.2999, allocations: 80 kB / 0.7954 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000687/0.3006, allocations: 411.4 kB / 0.7958 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004421/0.3011, allocations: 450.6 kB / 0.7962 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.3017, allocations: 0.6023 MB / 0.7968 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.3032, allocations: 1.456 MB / 0.7982 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3032, allocations: 0 / 0.7982 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3032, allocations: 4 kB / 0.7982 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.3032, allocations: 0 / 0.7982 GB, free: 14.16 MB / 0.6231 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.002994/0.3062, allocations: 1.62 MB / 0.7998 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3063, allocations: 8.031 kB / 0.7998 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.3065, allocations: 131.3 kB / 0.8 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3077, allocations: 0.8192 MB / 0.8008 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.3077, allocations: 45.38 kB / 0.8008 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3079, allocations: 64.31 kB / 0.8009 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008977/0.3088, allocations: 0.6178 MB / 0.8015 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3088, allocations: 0 / 0.8015 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.3088, allocations: 16 kB / 0.8015 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3089, allocations: 12 kB / 0.8015 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.3096, allocations: 0.5582 MB / 0.802 GB, free: 10.14 MB / 0.6231 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.004385/0.314, allocations: 3.286 MB / 0.8053 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.3154, allocations: 0.8479 MB / 0.8061 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.3159, allocations: 369.1 kB / 0.8064 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.316, allocations: 28.2 kB / 0.8065 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.316, allocations: 34.94 kB / 0.8065 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.254e-06/0.316, allocations: 0 / 0.8065 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001732/0.3177, allocations: 1.182 MB / 0.8076 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3178, allocations: 55.41 kB / 0.8077 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.3193, allocations: 1.224 MB / 0.8089 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.3193, allocations: 41.7 kB / 0.8089 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.3197, allocations: 464.6 kB / 0.8094 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.3198, allocations: 173.6 kB / 0.8095 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.3201, allocations: 222.5 kB / 0.8098 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3202, allocations: 345.9 kB / 0.8101 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/0.321, allocations: 0.6465 MB / 0.8107 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009741/0.322, allocations: 0.9669 MB / 0.8117 GB, free: 15.81 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.3237, allocations: 1.59 MB / 0.8132 GB, free: 14.08 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3238, allocations: 0 / 0.8132 GB, free: 14.08 MB / 0.6388 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002287/0.326, allocations: 1.787 MB / 0.815 GB, free: 12.28 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3261, allocations: 8 kB / 0.815 GB, free: 12.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.3261, allocations: 19.97 kB / 0.815 GB, free: 12.25 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.3263, allocations: 44.88 kB / 0.815 GB, free: 12.21 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.3275, allocations: 271.6 kB / 0.8153 GB, free: 11.94 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.3314, allocations: 6.84 MB / 0.822 GB, free: 4.773 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3325, allocations: 118.8 kB / 0.8221 GB, free: 4.656 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.3326, allocations: 44 kB / 0.8221 GB, free: 4.613 MB / 0.6388 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.0004247/0.3331, allocations: 308.4 kB / 0.8224 GB, free: 4.305 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.3332, allocations: 118.5 kB / 0.8225 GB, free: 4.188 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3344, allocations: 0.8387 MB / 0.8233 GB, free: 3.34 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3344, allocations: 4 kB / 0.8234 GB, free: 3.336 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3344, allocations: 0 / 0.8234 GB, free: 3.336 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3344, allocations: 3.984 kB / 0.8234 GB, free: 3.332 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3355, allocations: 0.919 MB / 0.8243 GB, free: 2.367 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3355, allocations: 3.938 kB / 0.8243 GB, free: 2.363 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.3361, allocations: 111.9 kB / 0.8244 GB, free: 2.254 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.3362, allocations: 32.83 kB / 0.8244 GB, free: 2.219 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.3363, allocations: 15.98 kB / 0.8244 GB, free: 2.203 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.3373, allocations: 1.441 MB / 0.8258 GB, free: 0.6172 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3373, allocations: 0 / 0.8258 GB, free: 0.6172 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.3389, allocations: 1.362 MB / 0.8271 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.3393, allocations: 267.5 kB / 0.8274 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.3394, allocations: 15.94 kB / 0.8274 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.3399, allocations: 27.95 kB / 0.8274 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.34, allocations: 31.95 kB / 0.8275 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.3401, allocations: 15.94 kB / 0.8275 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001204/0.3413, allocations: 0.8232 MB / 0.8283 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3413, allocations: 0 / 0.8283 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001074/0.3424, allocations: 359.7 kB / 0.8286 GB, free: 13.68 MB / 0.6544 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.0005668/0.3429, allocations: 278.9 kB / 0.8289 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.3455, allocations: 1.608 MB / 0.8305 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3455, allocations: 0 / 0.8305 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.346, allocations: 476 kB / 0.8309 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3471, allocations: 231.6 kB / 0.8311 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.3507, allocations: 2.548 MB / 0.8336 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.3513, allocations: 1.098 MB / 0.8347 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005282/0.3519, allocations: 203.1 kB / 0.8349 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.3521, allocations: 71.42 kB / 0.835 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.3521, allocations: 0 / 0.835 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of Templates: time 0.02682/0.3789, allocations: 14.51 MB / 0.8491 GB, free: 8.746 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)