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.001535/0.001535, allocations: 105.4 kB / 15.7 MB, free: 24 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.001133/0.001133, allocations: 199.2 kB / 16.64 MB, free: 6.453 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.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.785/1.785, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001634/0.001634, allocations: 73.06 kB / 0.6722 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2382, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00558/0.2438, allocations: 4.341 MB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004884/0.2487, allocations: 2.983 MB / 0.7913 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.2491, allocations: 19.88 kB / 0.7913 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009789/0.2502, allocations: 365.7 kB / 0.7916 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.2514, allocations: 0.6454 MB / 0.7923 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.2529, allocations: 0.6385 MB / 0.7929 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.2547, allocations: 1.878 MB / 0.7947 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.255, allocations: 177.9 kB / 0.7949 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.2557, allocations: 0.5879 MB / 0.7955 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/0.2565, allocations: 0.6538 MB / 0.7961 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.2566, allocations: 76 kB / 0.7962 GB, free: 348 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.2572, allocations: 415.4 kB / 0.7966 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.2576, allocations: 462.6 kB / 0.797 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005216/0.2582, allocations: 0.6062 MB / 0.7976 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2595, allocations: 1.464 MB / 0.799 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2595, allocations: 3.938 kB / 0.799 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2595, allocations: 4 kB / 0.799 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.2596, allocations: 0 / 0.799 GB, free: 13.39 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.002736/0.2623, allocations: 1.616 MB / 0.8006 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2624, allocations: 8.031 kB / 0.8006 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.2626, allocations: 131.3 kB / 0.8008 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.2639, allocations: 0.8465 MB / 0.8016 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.264, allocations: 41.38 kB / 0.8016 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2641, allocations: 64.38 kB / 0.8017 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/0.265, allocations: 0.6178 MB / 0.8023 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.265, allocations: 0 / 0.8023 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.2651, allocations: 16 kB / 0.8023 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2651, allocations: 12 kB / 0.8023 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.2658, allocations: 0.5582 MB / 0.8029 GB, free: 9.363 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.004238/0.2701, allocations: 3.267 MB / 0.806 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.2714, allocations: 0.8634 MB / 0.8069 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.2718, allocations: 365.1 kB / 0.8072 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.246e-05/0.2719, allocations: 32.2 kB / 0.8073 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2719, allocations: 38.94 kB / 0.8073 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.205e-06/0.2719, allocations: 3.938 kB / 0.8073 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001731/0.2737, allocations: 1.174 MB / 0.8085 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2737, allocations: 59.41 kB / 0.8085 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.2753, allocations: 1.227 MB / 0.8097 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.2753, allocations: 41.7 kB / 0.8097 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.2757, allocations: 464.6 kB / 0.8102 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.2759, allocations: 173.6 kB / 0.8104 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.2762, allocations: 202.5 kB / 0.8105 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2763, allocations: 357.9 kB / 0.8109 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.2771, allocations: 0.6426 MB / 0.8115 GB, free: 144 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009861/0.2781, allocations: 0.9709 MB / 0.8125 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.2798, allocations: 1.586 MB / 0.814 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.2799, allocations: 4 kB / 0.814 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002275/0.2821, allocations: 1.787 MB / 0.8158 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.2822, allocations: 8 kB / 0.8158 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.2822, allocations: 12 kB / 0.8158 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.2824, allocations: 49.39 kB / 0.8158 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.2836, allocations: 271.6 kB / 0.8161 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/0.2877, allocations: 6.832 MB / 0.8228 GB, free: 4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.2888, allocations: 127 kB / 0.8229 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.2889, allocations: 40 kB / 0.8229 GB, free: 3.836 MB / 0.6387 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.000479/0.2893, allocations: 310.9 kB / 0.8232 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.2895, allocations: 122.4 kB / 0.8233 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.2907, allocations: 0.8347 MB / 0.8241 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.2907, allocations: 4 kB / 0.8242 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2907, allocations: 8 kB / 0.8242 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2908, allocations: 3.984 kB / 0.8242 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2919, allocations: 0.9111 MB / 0.8251 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2919, allocations: 0 / 0.8251 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.2924, allocations: 111.9 kB / 0.8252 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.2925, allocations: 36.77 kB / 0.8252 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.2926, allocations: 8 kB / 0.8252 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.2939, allocations: 1.449 MB / 0.8266 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2939, allocations: 0 / 0.8266 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.2958, allocations: 1.362 MB / 0.8279 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.2963, allocations: 263.5 kB / 0.8282 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.2964, allocations: 15.94 kB / 0.8282 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.2969, allocations: 32.03 kB / 0.8282 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.297, allocations: 35.89 kB / 0.8283 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.297, allocations: 8 kB / 0.8283 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001154/0.2982, allocations: 0.8232 MB / 0.8291 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2982, allocations: 0 / 0.8291 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001031/0.2992, allocations: 359.7 kB / 0.8294 GB, free: 12.91 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.0005511/0.2998, allocations: 285.5 kB / 0.8297 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002765/0.3026, allocations: 1.507 MB / 0.8312 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3026, allocations: 0 / 0.8312 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.3032, allocations: 466.8 kB / 0.8316 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.3042, allocations: 235.6 kB / 0.8318 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.3078, allocations: 2.512 MB / 0.8343 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.3086, allocations: 1.102 MB / 0.8354 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005159/0.3091, allocations: 203.1 kB / 0.8356 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3093, allocations: 63.44 kB / 0.8356 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.3093, allocations: 0 / 0.8356 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of Templates: time 0.02772/0.337, allocations: 14.54 MB / 0.8498 GB, free: 8.09 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)