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.001422/0.001422, 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.002142/0.002142, allocations: 195.3 kB / 16.14 MB, free: 6.703 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.456/1.456, allocations: 205.1 MB / 222 MB, free: 4.746 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.705/1.705, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001294/0.001294, allocations: 60.48 kB / 0.6708 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2159, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005489/0.2214, allocations: 4.363 MB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005444/0.2269, allocations: 3.018 MB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.2278, allocations: 19.88 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2289, allocations: 314.3 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.2303, allocations: 0.6053 MB / 0.7908 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.2319, allocations: 0.5459 MB / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.2342, allocations: 2.194 MB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.2345, allocations: 153.9 kB / 0.7936 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009272/0.2354, allocations: 0.5175 MB / 0.7941 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.2365, allocations: 0.6888 MB / 0.7948 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2366, allocations: 48 kB / 0.7948 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007506/0.2374, allocations: 387.5 kB / 0.7952 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.2378, allocations: 430.6 kB / 0.7956 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.2383, allocations: 0.571 MB / 0.7962 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.2397, allocations: 1.436 MB / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2397, allocations: 0 / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2397, allocations: 0 / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.2397, allocations: 0 / 0.7976 GB, free: 14.67 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.002813/0.2425, allocations: 1.616 MB / 0.7991 GB, free: 13 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2426, allocations: 12.03 kB / 0.7991 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.2428, allocations: 135.3 kB / 0.7993 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.2439, allocations: 0.8154 MB / 0.8001 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.244, allocations: 45.38 kB / 0.8001 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.2441, allocations: 68.36 kB / 0.8002 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.2449, allocations: 0.614 MB / 0.8008 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.245, allocations: 3.938 kB / 0.8008 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.245, allocations: 16 kB / 0.8008 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.245, allocations: 8 kB / 0.8008 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.2457, allocations: 0.5621 MB / 0.8014 GB, free: 10.65 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.004157/0.2499, allocations: 3.282 MB / 0.8046 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.2513, allocations: 0.8362 MB / 0.8054 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.2518, allocations: 369.1 kB / 0.8057 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.2519, allocations: 36.2 kB / 0.8058 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.2519, allocations: 34.94 kB / 0.8058 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.2519, allocations: 0 / 0.8058 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001798/0.2537, allocations: 1.171 MB / 0.8069 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.2538, allocations: 59.41 kB / 0.807 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.2553, allocations: 1.231 MB / 0.8082 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.2554, allocations: 41.7 kB / 0.8082 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.2558, allocations: 468.6 kB / 0.8087 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2559, allocations: 169.6 kB / 0.8088 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.2562, allocations: 210.5 kB / 0.809 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2563, allocations: 349.9 kB / 0.8094 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.2571, allocations: 0.6426 MB / 0.81 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009714/0.2581, allocations: 0.9786 MB / 0.811 GB, free: 328 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.2598, allocations: 1.59 MB / 0.8125 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2599, allocations: 0 / 0.8125 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002487/0.2624, allocations: 1.787 MB / 0.8143 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.2624, allocations: 8.781 kB / 0.8143 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.2624, allocations: 12 kB / 0.8143 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.2626, allocations: 44.83 kB / 0.8143 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.2638, allocations: 279.8 kB / 0.8146 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.2674, allocations: 6.721 MB / 0.8212 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.2685, allocations: 134.6 kB / 0.8213 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.2686, allocations: 40 kB / 0.8213 GB, free: 5.238 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.0004327/0.2691, allocations: 305.6 kB / 0.8216 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.2692, allocations: 114.5 kB / 0.8217 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.2705, allocations: 0.8463 MB / 0.8225 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2705, allocations: 4 kB / 0.8226 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2705, allocations: 0 / 0.8226 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2705, allocations: 7.984 kB / 0.8226 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2716, allocations: 0.919 MB / 0.8235 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2716, allocations: 0 / 0.8235 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.2721, allocations: 107.9 kB / 0.8236 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.2723, allocations: 36.77 kB / 0.8236 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.2723, allocations: 11.98 kB / 0.8236 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.2733, allocations: 1.334 MB / 0.8249 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2734, allocations: 0 / 0.8249 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.275, allocations: 1.37 MB / 0.8262 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.2754, allocations: 263.4 kB / 0.8265 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.2755, allocations: 15.98 kB / 0.8265 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.2761, allocations: 27.97 kB / 0.8265 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.2762, allocations: 35.95 kB / 0.8266 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.2763, allocations: 8 kB / 0.8266 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001124/0.2774, allocations: 0.8232 MB / 0.8274 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2774, allocations: 0 / 0.8274 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001134/0.2785, allocations: 367.6 kB / 0.8277 GB, free: 14.41 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.0005729/0.2791, allocations: 283 kB / 0.828 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.2816, allocations: 1.498 MB / 0.8295 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2817, allocations: 5.938 kB / 0.8295 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.2822, allocations: 478.3 kB / 0.8299 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.2834, allocations: 211.1 kB / 0.8301 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.2871, allocations: 2.864 MB / 0.8329 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.2879, allocations: 1.106 MB / 0.834 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005582/0.2885, allocations: 199.1 kB / 0.8342 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.2887, allocations: 67.44 kB / 0.8343 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.2887, allocations: 4 kB / 0.8343 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of Templates: time 0.02357/0.3122, allocations: 13.92 MB / 0.8479 GB, free: 9.863 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)